mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:33:24 +00:00
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@hohndel.org>
This commit is contained in:
parent
d62e46134d
commit
bfaeb22cc5
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ Item {
|
|||
}
|
||||
ComboBox {
|
||||
id: buddyBox
|
||||
editable: true
|
||||
editable: currentText != "Multiple Buddies"
|
||||
model: diveDetailsListView.currentItem.modelData.dive.buddyList
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
Layout.fillWidth: true
|
||||
|
|
Loading…
Add table
Reference in a new issue