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
@ -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…
x
Reference in New Issue
Block a user