From 6c8736adb882bdfd8bb87f81b417dc6847b58562 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 1 Apr 2016 21:14:59 -0500 Subject: QML UI: end editing mode when edit overlay is flicked offscreen Just changing the state isn't quite enough. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-mobile/qml') 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 { -- cgit v1.2.3-70-g09d2