mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:53:23 +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: {
|
onBackRequested: {
|
||||||
if (diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID) {
|
if (startPageWrapper.visible && diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID) {
|
||||||
manager.credentialStatus = oldStatus
|
manager.credentialStatus = oldStatus
|
||||||
|
event.accepted = true;
|
||||||
}
|
}
|
||||||
event.accepted = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
|
|
Loading…
Add table
Reference in a new issue