aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 21:14:59 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 21:14:59 -0500
commit6c8736adb882bdfd8bb87f81b417dc6847b58562 (patch)
tree531a85316826c2a6599690922a4f921f24d44d9e
parent39799228afdff8b1b889809289992c401e450caf (diff)
downloadsubsurface-6c8736adb882bdfd8bb87f81b417dc6847b58562.tar.gz
QML UI: end editing mode when edit overlay is flicked offscreen
Just changing the state isn't quite enough. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/DiveDetails.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index 22cffdd6d..748f218ca 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -206,7 +206,7 @@ Kirigami.Page {
anchors.fill: parent
onOpenedChanged: {
if (!opened) {
- diveDetailsPage.state = "view"
+ endEditMode()
}
}
DiveDetailsEdit {