Changeset bfaeb22 in subsurface


Ignore:
Timestamp:
Jan 22, 2017, 6:18:07 PM (5 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
0196d9a2
Parents:
d62e461
git-author:
Dirk Hohndel <dirk@…> (01/22/17 17:01:20)
git-committer:
Dirk Hohndel <dirk@…> (01/22/17 18:18:07)
Message:

QML UI: prevent modification of Multible Buddies text

"Multiple Buddies" is magic in that it means "do not change the buddies
set for this dive". Allowing the user to edit that magic phrase defeats
the purpose.

This deals with part of issue #168 - but of course that magic phrase
shouldn't be fixed as English text.

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

File:
1 edited

Legend:

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

    r14b4c94 rbfaeb22  
    178178                        ComboBox {
    179179                                id: buddyBox
    180                                 editable: true
     180                                editable: currentText != "Multiple Buddies"
    181181                                model: diveDetailsListView.currentItem.modelData.dive.buddyList
    182182                                inputMethodHints: Qt.ImhNoPredictiveText
Note: See TracChangeset for help on using the changeset viewer.