use correct label text

This commit is contained in:
ChrisTerBeke 2018-12-04 14:15:19 +01:00
parent e98f3bff38
commit 7de947f5fa

View File

@ -9,12 +9,12 @@ import Cura 1.0 as Cura
Instantiator { Instantiator {
model: UM.ContainerStacksModel { model: UM.ContainerStacksModel {
filter: {"type": "machine", "um_cloud_cluster_id": "*", "hidden": "False"} filter: {"type": "machine", "um_cloud_cluster_id": "*"}
} }
MenuItem { MenuItem {
// iconSource: UM.Theme.getIcon("printer_single") TODO: use cloud icon here // iconSource: UM.Theme.getIcon("printer_single") TODO: use cloud icon here
text: model.name text: model.metadata["connect_group_name"]
checkable: true checkable: true
checked: true // cloud printers are only listed if they are actually online checked: true // cloud printers are only listed if they are actually online
exclusiveGroup: group; exclusiveGroup: group;