Fix device name display in app

This commit is contained in:
Nicolas Fella 2018-11-18 21:13:43 +01:00
parent 83101cad2c
commit 3865307619
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

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