diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 23:54:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 23:54:40 -0800 |
commit | f2c8aed07be8c45def8172956adae3554a0f322c (patch) | |
tree | 345b46c9b24d08c41a92e7e44beb5600fcc74c5d | |
parent | 3413dfc3aa98638f135e5e49e8b9357f63d20fed (diff) | |
download | subsurface-f2c8aed07be8c45def8172956adae3554a0f322c.tar.gz |
QML UI: when canceling a dive add, go back to dive list
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index a8db2990c..1877feb09 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -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 |