[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 {
|
delegate: Kirigami.BasicListItem {
|
||||||
icon: iconName
|
icon: iconName
|
||||||
iconColor: "transparent"
|
iconColor: "transparent"
|
||||||
label: display
|
label: model.name
|
||||||
subtitle: toolTip
|
subtitle: toolTip
|
||||||
highlighted: false
|
highlighted: false
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
@ -94,7 +94,7 @@ Kirigami.ApplicationWindow
|
||||||
delegate: Kirigami.Action {
|
delegate: Kirigami.Action {
|
||||||
icon.name: model.iconName
|
icon.name: model.iconName
|
||||||
icon.color: "transparent"
|
icon.color: "transparent"
|
||||||
text: display + "\n" + toolTip
|
text: model.name + "\n" + toolTip
|
||||||
visible: status & DevicesModel.Reachable
|
visible: status & DevicesModel.Reachable
|
||||||
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
|
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
|
Loading…
Reference in a new issue