Changeset 8a71196 in subsurface


Ignore:
Timestamp:
Apr 4, 2017, 7:10:22 PM (7 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
1fc4fba
Parents:
89d7dd43
git-author:
Marco Martin <notmart@…> (04/04/17 12:49:02)
git-committer:
Dirk Hohndel <dirk@…> (04/04/17 19:10:22)
Message:

QML UI: fix saving fields using HintsTextEdit?

The editText property is not there anymore, we need text

Signed-off-by: Marco Martin <notmart@…>
Signed-off-by: Dirk Hohndel <dirk@…>

Location:
mobile-widgets/qml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/DiveDetailsEdit.qml

    r4113bab r8a71196  
    3535                // apply the changes to the dive_table
    3636                manager.commitChanges(dive_id, detailsEdit.dateText, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
    37                                       detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, suitBox.editText, buddyBox.editText,
    38                                       divemasterBox.editText, detailsEdit.weightText, detailsEdit.notesText, detailsEdit.startpressureText,
    39                                       detailsEdit.endpressureText, detailsEdit.gasmixText, cylinderBox.editText)
     37                                      detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, suitBox.text, buddyBox.text,
     38                                      divemasterBox.text, detailsEdit.weightText, detailsEdit.notesText, detailsEdit.startpressureText,
     39                                      detailsEdit.endpressureText, detailsEdit.gasmixText, cylinderBox.text)
    4040                // trigger the profile to be redrawn
    4141                QMLProfile.diveId = dive_id
  • mobile-widgets/qml/HintsTextEdit.qml

    r89d7dd43 r8a71196  
    101101                                        hintsView.currentIndex = index
    102102                                        root.text = modelData
     103                                        frame.shouldShow = false;
    103104                                }
    104105                        }
Note: See TracChangeset for help on using the changeset viewer.