aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml1
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