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>
This commit is contained in:
Dirk Hohndel 2016-04-01 21:14:59 -05:00
parent 39799228af
commit 6c8736adb8

View file

@ -206,7 +206,7 @@ Kirigami.Page {
anchors.fill: parent
onOpenedChanged: {
if (!opened) {
diveDetailsPage.state = "view"
endEditMode()
}
}
DiveDetailsEdit {