diff --git a/src/qml/DigitizingToolbar.qml b/src/qml/DigitizingToolbar.qml index 6a8fd25c74..d5576893d4 100644 --- a/src/qml/DigitizingToolbar.qml +++ b/src/qml/DigitizingToolbar.qml @@ -84,7 +84,7 @@ QfVisibilityFadingRow { bgcolor: Theme.darkRed onClicked: { - homeButton.waitingForDigitizingFinish = false; + dashBoard.shouldReturnHome = false; if (stateMachine.state !== "measure") { cancelDialog.open(); } else { @@ -111,7 +111,7 @@ QfVisibilityFadingRow { bgcolor: Theme.mainColor onClicked: { - homeButton.waitingForDigitizingFinish = false; + dashBoard.shouldReturnHome = false; confirm(); } }