summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/TopBar.qml
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2016-02-07 22:23:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-07 13:56:46 -0800
commit47403588e5241368c43dd407090b1be214b56252 (patch)
tree1e4bf425e0ffd722ffdc0147a8d21984a3d718d9 /qt-mobile/qml/TopBar.qml
parentd9763100940cbcff297d88a0f1597ba7bd07ea01 (diff)
downloadsubsurface-47403588e5241368c43dd407090b1be214b56252.tar.gz
Move endEditMode() to DiveDetails.qml
Having endEditMode() in main.qml seemed wrong somehow. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/TopBar.qml')
-rw-r--r--qt-mobile/qml/TopBar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml
index 4f3f6fef8..338b78f87 100644
--- a/qt-mobile/qml/TopBar.qml
+++ b/qt-mobile/qml/TopBar.qml
@@ -138,7 +138,7 @@ Rectangle {
height: parent.height
width: parent.width
onClicked: {
- endEditMode()
+ detailsWindow.endEditMode()
}
}
}