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 {
|
||||
width: ListView.view.width
|
||||
icon: iconName
|
||||
label: display + "\n" + toolTip
|
||||
label: deviceName + "\n" + toolTip
|
||||
onClicked: {
|
||||
pageStack.push(
|
||||
deviceComp,
|
||||
|
|
|
@ -108,7 +108,7 @@ Kirigami.ApplicationWindow
|
|||
}
|
||||
delegate: Kirigami.Action {
|
||||
iconName: model.iconName
|
||||
text: display + "\n" + toolTip
|
||||
text: deviceName + "\n" + toolTip
|
||||
enabled: status & DevicesModel.Reachable
|
||||
checked: pageStack.currentItem && pageStack.currentItem.currentDevice == device
|
||||
onTriggered: {
|
||||
|
|
Loading…
Reference in a new issue