diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index e8415901a4..f726b3329c 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -403,7 +403,7 @@ ApplicationWindow { } else if (geometryEditorsToolbar.editorRubberbandModel && geometryEditorsToolbar.editorRubberbandModel.vertexCount > 1) { coordinateLocator.sourceLocation = mapCanvas.mapSettings.coordinateToScreen(geometryEditorsToolbar.editorRubberbandModel.lastCoordinate); } else { - if (!digitizingToolbar.rubberbandModel.frozen) { + if (digitizingToolbar.rubberbandModel == undefined || !digitizingToolbar.rubberbandModel.frozen) { coordinateLocator.sourceLocation = undefined; } }