aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
authorGravatar Marco Martin <notmart@gmail.com>2017-04-04 21:49:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-04 19:10:22 -0700
commit8a71196e4e58dfb3534fda5f00856a0223726689 (patch)
tree57e17c64813781be8b371eeb0a5ac70d85849ed7 /mobile-widgets/qml/DiveDetailsEdit.qml
parent89d7dd434856e2e189ec91d6d9fa160d57e8c203 (diff)
downloadsubsurface-8a71196e4e58dfb3534fda5f00856a0223726689.tar.gz
QML UI: fix saving fields using HintsTextEdit
The editText property is not there anymore, we need text Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index c5a8318fa..6c59b5eaf 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -34,9 +34,9 @@ Item {
function saveData() {
// apply the changes to the dive_table
manager.commitChanges(dive_id, detailsEdit.dateText, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
- detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, suitBox.editText, buddyBox.editText,
- divemasterBox.editText, detailsEdit.weightText, detailsEdit.notesText, detailsEdit.startpressureText,
- detailsEdit.endpressureText, detailsEdit.gasmixText, cylinderBox.editText)
+ detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, suitBox.text, buddyBox.text,
+ divemasterBox.text, detailsEdit.weightText, detailsEdit.notesText, detailsEdit.startpressureText,
+ detailsEdit.endpressureText, detailsEdit.gasmixText, cylinderBox.text)
// trigger the profile to be redrawn
QMLProfile.diveId = dive_id