summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index 912a97840..c2fb4df1a 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -55,12 +55,12 @@ MobileComponents.Page {
if (diveDetailsWindow.state == "edit") {
manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText,
- detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText);
- diveDetailsWindow.state = "view";
+ detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText)
+ diveDetailsWindow.state = "view"
} else {
- diveDetailsWindow.state = "edit";
+ diveDetailsWindow.state = "edit"
}
- contextDrawer.close();
+ contextDrawer.close()
// close drawer?
}
}