[app] Fix reading device name

This commit is contained in:
Nicolas Fella 2022-06-23 11:49:22 +02:00
parent 5f94c49503
commit bb5ab942b7
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ Kirigami.ScrollablePage
delegate: Kirigami.BasicListItem {
icon: iconName
iconColor: "transparent"
label: display
label: model.name
subtitle: toolTip
highlighted: false
onClicked: {

View file

@ -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: {