Index: Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs =================================================================== diff -u -r8db6b8e187ec6dcec622df2dc3a7ac6c5566a0d5 -rcf60de33a75f1d729639a4ba7f30e3b319f9ed6d --- Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs (.../RingtoetsContextMenuItemFactory.cs) (revision 8db6b8e187ec6dcec622df2dc3a7ac6c5566a0d5) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/RingtoetsContextMenuItemFactory.cs (.../RingtoetsContextMenuItemFactory.cs) (revision cf60de33a75f1d729639a4ba7f30e3b319f9ed6d) @@ -387,12 +387,14 @@ { var contextMenuEnabled = true; string toolTipMessage = Resources.CreateUpdateForeshoreProfileItem_Update_calculation_with_ForeshoreProfile_ToolTip; - if (calculation.InputParameters.ForeshoreProfile == null) + TCalculationInput calculationInputParameters = calculation.InputParameters; + + if (calculationInputParameters.ForeshoreProfile == null) { contextMenuEnabled = false; toolTipMessage = Resources.CreateUpdateForeshoreProfileItem_Update_calculation_no_ForeshoreProfile_ToolTip; } - else if (calculation.InputParameters.IsForeshoreProfileInputSynchronized) + else if (calculationInputParameters.IsForeshoreProfileInputSynchronized) { contextMenuEnabled = false; toolTipMessage = Resources.CalculationItem_No_changes_to_update_ToolTip;