mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
39799228af
commit
6c8736adb8
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ Kirigami.Page {
|
|||
anchors.fill: parent
|
||||
onOpenedChanged: {
|
||||
if (!opened) {
|
||||
diveDetailsPage.state = "view"
|
||||
endEditMode()
|
||||
}
|
||||
}
|
||||
DiveDetailsEdit {
|
||||
|
|
Loading…
Add table
Reference in a new issue