diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index e571fc56b..bbc72f3ec 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -41,7 +41,9 @@ MobileComponents.ApplicationWindow { Action { text: "Back to Divelist" onTriggered: { - stackView.pop() + for (var i=stackView.depth; i>1; i--) { + stackView.pop() + } } }, MobileComponents.ActionGroup {