Mobile: Enable editing multiple buddies
While the autocomplete function only works for the first entry adding multiple comma separated buddies can still be done. Fixes #608 Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
committed by
Dirk Hohndel
parent
a2a2aec9f0
commit
e9bcca9103
@@ -229,7 +229,7 @@ Kirigami.Page {
|
||||
watertemp = currentItem.modelData.dive.waterTemp
|
||||
suitIndex = currentItem.modelData.dive.suitList.indexOf(currentItem.modelData.dive.suit)
|
||||
if (currentItem.modelData.dive.buddy.indexOf(",") > 0) {
|
||||
buddyIndex = currentItem.modelData.dive.buddyList.indexOf(qsTr("Multiple Buddies"));
|
||||
buddyText = currentItem.modelData.dive.buddy;
|
||||
} else {
|
||||
buddyIndex = currentItem.modelData.dive.buddyList.indexOf(currentItem.modelData.dive.buddy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user