diff --git a/src/qml/geometryeditors/FillRing.qml b/src/qml/geometryeditors/FillRing.qml index 5ff3546347..6345c766b4 100644 --- a/src/qml/geometryeditors/FillRing.qml +++ b/src/qml/geometryeditors/FillRing.qml @@ -109,7 +109,7 @@ VisibilityFadingRow { function init(featureModel, mapSettings, editorRubberbandModel, editorRenderer) { fillRingToolbar.featureModel = featureModel - digitizingLogger.digitizingLayer = featureModel.currentLayer + drawPolygonToolbar.digitizingLogger.digitizingLayer = featureModel.currentLayer drawPolygonToolbar.rubberbandModel = editorRubberbandModel drawPolygonToolbar.rubberbandModel.geometryType = Qgis.GeometryType.Polygon drawPolygonToolbar.mapSettings = mapSettings