Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler.cs =================================================================== diff -u -r58e63d129c58c0247ce8918486f4e68120876bd9 -rb15268001c06a569fb2f63e9615ac86ebf3fc7c5 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler.cs (.../GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler.cs) (revision 58e63d129c58c0247ce8918486f4e68120876bd9) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler.cs (.../GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler.cs) (revision b15268001c06a569fb2f63e9615ac86ebf3fc7c5) @@ -1,8 +1,6 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Core.Common.Base; -using Ringtoets.Common.Forms; using Ringtoets.Common.Forms.ChangeHandlers; using Ringtoets.Common.Service; using Ringtoets.GrassCoverErosionOutwards.Data; @@ -16,12 +14,6 @@ /// public class GrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler : FailureMechanismPropertyChangeHandler { - protected override bool RequiresConfirmation(GrassCoverErosionOutwardsFailureMechanism failureMechanism) - { - return base.RequiresConfirmation(failureMechanism) || - failureMechanism.HydraulicBoundaryLocations.Any(c => c.WaveHeightOutput != null || c.DesignWaterLevelOutput != null); - } - protected override string ConfirmationMessage { get @@ -30,6 +22,12 @@ } } + protected override bool RequiresConfirmation(GrassCoverErosionOutwardsFailureMechanism failureMechanism) + { + return base.RequiresConfirmation(failureMechanism) || + failureMechanism.HydraulicBoundaryLocations.Any(c => c.WaveHeightOutput != null || c.DesignWaterLevelOutput != null); + } + protected override IEnumerable PropertyChanged(GrassCoverErosionOutwardsFailureMechanism failureMechanism) { var affectedObjects = new List(base.PropertyChanged(failureMechanism));