Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs =================================================================== diff -u -r7d922899412d52bcc7c2f1432589dfcd62d364b4 -rdd8f41ce9d9ff9fd570874721a114560c7a71013 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 7d922899412d52bcc7c2f1432589dfcd62d364b4) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision dd8f41ce9d9ff9fd570874721a114560c7a71013) @@ -109,12 +109,6 @@ #endregion - protected override bool ShouldPropertyBeReadOnlyInAbsenseOfStructure(string property) - { - return nameof(FailureProbabilityStructureWithErosion).Equals(property) - || base.ShouldPropertyBeReadOnlyInAbsenseOfStructure(property); - } - public override IEnumerable GetAvailableForeshoreProfiles() { return data.FailureMechanism.ForeshoreProfiles; @@ -125,6 +119,12 @@ return data.FailureMechanism.HeightStructures; } + protected override bool ShouldPropertyBeReadOnlyInAbsenseOfStructure(string property) + { + return nameof(FailureProbabilityStructureWithErosion).Equals(property) + || base.ShouldPropertyBeReadOnlyInAbsenseOfStructure(property); + } + protected override void AfterSettingStructure() { StructuresHelper.UpdateCalculationToSectionResultAssignments(