mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: we don't need those semicolons
The code is rather inconsistent when it comes to the use of semicolons in the JS code. Let's try to not have them... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da5d904d34
commit
b84308bcfb
1 changed files with 4 additions and 4 deletions
|
@ -55,12 +55,12 @@ MobileComponents.Page {
|
||||||
if (diveDetailsWindow.state == "edit") {
|
if (diveDetailsWindow.state == "edit") {
|
||||||
manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
|
manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
|
||||||
detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText,
|
detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText,
|
||||||
detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText);
|
detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText)
|
||||||
diveDetailsWindow.state = "view";
|
diveDetailsWindow.state = "view"
|
||||||
} else {
|
} else {
|
||||||
diveDetailsWindow.state = "edit";
|
diveDetailsWindow.state = "edit"
|
||||||
}
|
}
|
||||||
contextDrawer.close();
|
contextDrawer.close()
|
||||||
// close drawer?
|
// close drawer?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue