diff --git a/src/qml/geometryeditors/FillRing.qml b/src/qml/geometryeditors/FillRing.qml index 67208dae0d..b1984b2ca4 100644 --- a/src/qml/geometryeditors/FillRing.qml +++ b/src/qml/geometryeditors/FillRing.qml @@ -77,6 +77,10 @@ VisibilityFadingRow { addPolygonDialog.show(); } } + + onCancel: { + rubberbandModel.reset() + } } Dialog { diff --git a/src/qml/geometryeditors/SplitFeature.qml b/src/qml/geometryeditors/SplitFeature.qml index be0b00ebec..738ea5ef98 100644 --- a/src/qml/geometryeditors/SplitFeature.qml +++ b/src/qml/geometryeditors/SplitFeature.qml @@ -71,6 +71,10 @@ VisibilityFadingRow { featureModel.currentLayer.removeSelection() } + + onCancel: { + rubberbandModel.reset() + } } function init(featureModel, mapSettings, editorRubberbandModel, editorRenderer)