mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f2e03022fa
commit
2755e64cea
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue