Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs =================================================================== diff -u -r9050ad5f3a80e630b2fcc092942a40d6343286a0 -rccf22c570f610fc47e18f8e92afc6aab2ee6c896 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 9050ad5f3a80e630b2fcc092942a40d6343286a0) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision ccf22c570f610fc47e18f8e92afc6aab2ee6c896) @@ -320,15 +320,12 @@ { get { - return new UseBreakWaterProperties(data.WrappedData, UseBreakWaterEnabled); + return data.WrappedData.ForeshoreProfile == null ? + new UseBreakWaterProperties(null) : + new UseBreakWaterProperties(data.WrappedData); } } - private bool UseBreakWaterEnabled() - { - return data.WrappedData.ForeshoreProfile != null; - } - [PropertyOrder(foreshoreGeometryPropertyIndex)] [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(RingtoetsCommonFormsResources), "Categories_Schematization")]