aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-12 12:12:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-12 12:12:37 -0700
commit2755e64cea507d22c021580d2fb0002042b5db30 (patch)
tree985ba83d556bbce2fcae47a919e87fdb66c5711f /mobile-widgets/qml/DiveList.qml
parentf2e03022fa420309c268221cf75b41f176526455 (diff)
downloadsubsurface-2755e64cea507d22c021580d2fb0002042b5db30.tar.gz
Don't quit when hitting the back button on iOS
This should finally fix this problem. Famous last words. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index f949a44be..6741098ff 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -303,9 +303,9 @@ Kirigami.ScrollablePage {
if (!startPageWrapper.visible) {
if (Qt.platform.os != "ios") {
manager.quit()
- // we shouldn't come back from there, but just in case
- event.accepted = true
}
+ // let's make sure Kirigami doesn't quit on our behalf
+ event.accepted = true
}
}
}