[app] Fix reading device name
This commit is contained in:
parent
5f94c49503
commit
bb5ab942b7
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ Kirigami.ScrollablePage
|
|||
delegate: Kirigami.BasicListItem {
|
||||
icon: iconName
|
||||
iconColor: "transparent"
|
||||
label: display
|
||||
label: model.name
|
||||
subtitle: toolTip
|
||||
highlighted: false
|
||||
onClicked: {
|
||||
|
|
|
@ -94,7 +94,7 @@ Kirigami.ApplicationWindow
|
|||
delegate: Kirigami.Action {
|
||||
icon.name: model.iconName
|
||||
icon.color: "transparent"
|
||||
text: display + "\n" + toolTip
|
||||
text: model.name + "\n" + toolTip
|
||||
visible: status & DevicesModel.Reachable
|
||||
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
|
||||
onTriggered: {
|
||||
|
|
Loading…
Reference in a new issue