Changeset ee4ae49 in subsurface


Ignore:
Timestamp:
Apr 14, 2017, 1:43:48 PM (9 days ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
c00b14a
Parents:
525cd4c
Message:

QML UI: don't populate hints texts when adding dive

If we don't have values for the HintsTextEdit? fields, don't show any
values.

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

File:
1 edited

Legend:

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

    r73c66e1 ree4ae49  
    8888                        anchors.fill: parent
    8989                        clip: true
    90                         onCurrentIndexChanged: root.text = model[currentIndex];
     90                        onCurrentIndexChanged: root.text = currentIndex === -1 ? "" : model[currentIndex];
    9191
    9292                        delegate: Kirigami.BasicListItem {
Note: See TracChangeset for help on using the changeset viewer.