Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs =================================================================== diff -u -r449b5831547d5a6391da8ad825e7c845ef7ecc1c -r5fae8cb70dd4efeb648c5ff5ee02c837a47172db --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 449b5831547d5a6391da8ad825e7c845ef7ecc1c) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 5fae8cb70dd4efeb648c5ff5ee02c837a47172db) @@ -109,6 +109,15 @@ #endregion + public override bool IsReadOnly(string property) + { + if (property == nameof(FailureProbabilityStructureWithErosion)) + { + return !HasStructure(); + } + return base.IsReadOnly(property); + } + public override IEnumerable GetAvailableForeshoreProfiles() { return data.FailureMechanism.ForeshoreProfiles;