summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/main.qml4
1 files changed, 3 insertions, 1 deletions
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 {