Use the group name to show in the printer list if it's a network

connected printer.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-21 11:50:00 +01:00
parent de650300e2
commit 64bbab9d40

View file

@ -79,8 +79,9 @@ Cura.ExpandableComponent
delegate: Button
{
text: name
text: model.metadata["connect_group_name"]
width: parent.width
checked: Cura.MachineManager.activeMachineNetworkGroupName == model.metadata["connect_group_name"]
checkable: true
onClicked:
@ -120,7 +121,7 @@ Cura.ExpandableComponent
delegate: Button
{
text: name
text: model.name
width: parent.width
checked: Cura.MachineManager.activeMachineId == model.id
checkable: true