Fix device name display in app
This commit is contained in:
parent
83101cad2c
commit
3865307619
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ Kirigami.ScrollablePage
|
||||||
delegate: Kirigami.BasicListItem {
|
delegate: Kirigami.BasicListItem {
|
||||||
width: ListView.view.width
|
width: ListView.view.width
|
||||||
icon: iconName
|
icon: iconName
|
||||||
label: display + "\n" + toolTip
|
label: deviceName + "\n" + toolTip
|
||||||
onClicked: {
|
onClicked: {
|
||||||
pageStack.push(
|
pageStack.push(
|
||||||
deviceComp,
|
deviceComp,
|
||||||
|
|
|
@ -108,7 +108,7 @@ Kirigami.ApplicationWindow
|
||||||
}
|
}
|
||||||
delegate: Kirigami.Action {
|
delegate: Kirigami.Action {
|
||||||
iconName: model.iconName
|
iconName: model.iconName
|
||||||
text: display + "\n" + toolTip
|
text: deviceName + "\n" + toolTip
|
||||||
enabled: status & DevicesModel.Reachable
|
enabled: 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