mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: Parse multiple buddies when editing a dive
This allows the user to enter multiple buddies as a comma separated list, the "Multiple Buddies" entry is still a special case as we can only populate the combobox with a single name for each entry. fixes #168 Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
f5a4838519
commit
0e57033042
2 changed files with 5 additions and 8 deletions
|
|
@ -177,7 +177,7 @@ Item {
|
|||
}
|
||||
ComboBox {
|
||||
id: buddyBox
|
||||
editable: currentText != qsTr("Multiple Buddies")
|
||||
editable: true
|
||||
model: diveDetailsListView.currentItem.modelData.dive.buddyList
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue