summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 63c071766..cd8635b63 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -292,6 +292,10 @@ Kirigami.ApplicationWindow {
globalDrawer.close()
diveModel.resetInternalData()
manager.refreshDiveList()
+ while (pageStack.depth > 1) {
+ pageStack.pop()
+ }
+ pageStack.push(diveList)
}
}
Kirigami.Action {