aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index c2fb4df1a..9d6e0b91d 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -56,6 +56,16 @@ MobileComponents.Page {
manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText,
detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText)
+ location = detailsEdit.locationText
+ // gps = detailsEdit.gps
+ // duration = detailsEdit.durationText
+ // depth = detailsEdit.depthText
+ airtemp = detailsEdit.airtempText
+ watertemp = detailsEdit.watertempText
+ suit = detailsEdit.suitText
+ buddy = detailsEdit.buddyText
+ divemaster = detailsEdit.divemasterText
+ notes = detailsEdit.notesText
diveDetailsWindow.state = "view"
} else {
diveDetailsWindow.state = "edit"