mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: when canceling a dive add, go back to dive list
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3413dfc3aa
commit
f2c8aed07b
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ MobileComponents.Page {
|
|||
event.accepted = true;
|
||||
} else if (state === "add") {
|
||||
endAddMode()
|
||||
stackView.pop()
|
||||
event.accepted = true;
|
||||
}
|
||||
// if we were in view mode, don't accept the event and pop the page
|
||||
|
|
Loading…
Reference in a new issue