SMS App: Note that there's no device available on the combo
Fixes T8342
This commit is contained in:
parent
cfc51e0814
commit
ea69141d2e
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ Kirigami.ScrollablePage
|
|||
footer: ComboBox {
|
||||
id: devicesCombo
|
||||
readonly property QtObject device: currentIndex>0 ? model.data(model.index(currentIndex, 0), DevicesModel.DeviceRole) : null
|
||||
enabled: count > 0
|
||||
displayText: enabled ? undefined : i18n("No devices available")
|
||||
model: DevicesSortProxyModel {
|
||||
//TODO: make it possible to sort only if they can do sms
|
||||
sourceModel: DevicesModel { displayFilter: DevicesModel.Paired | DevicesModel.Reachable }
|
||||
|
|
Loading…
Reference in a new issue