Index: src/Deltares.DSoilModel.Forms/DSoilModelGeometryEditor.cs =================================================================== diff -u -r642 -r669 --- src/Deltares.DSoilModel.Forms/DSoilModelGeometryEditor.cs (.../DSoilModelGeometryEditor.cs) (revision 642) +++ src/Deltares.DSoilModel.Forms/DSoilModelGeometryEditor.cs (.../DSoilModelGeometryEditor.cs) (revision 669) @@ -542,15 +542,15 @@ spatialEditor.AddShape(shape); } } - else if (project != null && sender == project.SoilProfiles2D) + else if (project != null && (sender == project.SoilProfiles2D || sender == project.SoilProfiles1D)) { if (spatialEditor.EmptySelection != null) { - var currentSoilProfile = spatialEditor.EmptySelection.DataObject as SoilProfile2D; + var currentSoilProfile = spatialEditor.EmptySelection.DataObject as SoilProfile; if (currentSoilProfile != null) { // check whether the current displayed object has been removed - bool removed = !project.SoilProfiles2D.Contains(currentSoilProfile); + bool removed = !project.SoilProfiles2D.Contains(currentSoilProfile) && !project.SoilProfiles1D.Contains(currentSoilProfile); if (removed) {