mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:23:24 +00:00
QML UI: back key on dive list exits the app
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f2c8aed07b
commit
c97ed010c7
1 changed files with 2 additions and 2 deletions
|
@ -195,10 +195,10 @@ MobileComponents.Page {
|
|||
}
|
||||
|
||||
onBackRequested: {
|
||||
if (diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID) {
|
||||
if (startPageWrapper.visible && diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID) {
|
||||
manager.credentialStatus = oldStatus
|
||||
event.accepted = true;
|
||||
}
|
||||
event.accepted = true;
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
|
|
Loading…
Add table
Reference in a new issue