summaryrefslogtreecommitdiffstats
path: root/qt-mobile/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-08-20 11:44:01 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 15:49:09 -0700
commitcd28082c395002e027f682500670e79b934b9cf8 (patch)
tree3d49546a5198499b4e2a356dc6e66b0fcac1abfc /qt-mobile/DiveDetails.qml
parent89c7e4cd67eee5c24c107e36d44370b4772ad15d (diff)
downloadsubsurface-cd28082c395002e027f682500670e79b934b9cf8.tar.gz
QML UI: Fix error when closing the log window
When closing the log window, do not try to save the changes. This should only be done when closing the DiveDetails. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/DiveDetails.qml')
-rw-r--r--qt-mobile/DiveDetails.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/DiveDetails.qml b/qt-mobile/DiveDetails.qml
index 6f42f20d0..afb62104a 100644
--- a/qt-mobile/DiveDetails.qml
+++ b/qt-mobile/DiveDetails.qml
@@ -10,6 +10,7 @@ import org.subsurfacedivelog.mobile 1.0
Item {
id: diveDetailsWindow
width: parent.width
+ objectName: "DiveDetails"
property string location
property string dive_id