diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-01 21:14:59 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-01 21:14:59 -0500 |
commit | 6c8736adb882bdfd8bb87f81b417dc6847b58562 (patch) | |
tree | 531a85316826c2a6599690922a4f921f24d44d9e | |
parent | 39799228afdff8b1b889809289992c401e450caf (diff) | |
download | subsurface-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.qml | 2 |
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 { |