From f2c8aed07be8c45def8172956adae3554a0f322c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 13 Feb 2016 23:54:40 -0800 Subject: QML UI: when canceling a dive add, go back to dive list Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2