From 5993847c4aada98e07edaba2bd2a813ff977da3f Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 20 Mar 2018 16:22:55 +0100 Subject: [PATCH] Show printer group or machine name in workspace summary CURA-5125 --- resources/qml/WorkspaceSummaryDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/WorkspaceSummaryDialog.qml b/resources/qml/WorkspaceSummaryDialog.qml index cf19e45fdd..4d15860257 100644 --- a/resources/qml/WorkspaceSummaryDialog.qml +++ b/resources/qml/WorkspaceSummaryDialog.qml @@ -111,12 +111,12 @@ UM.Dialog height: childrenRect.height Label { - text: catalog.i18nc("@action:label", "Name") + text: catalog.i18nc("@action:label", Cura.MachineManager.activeMachineNetworkGroupName != "" ? "Printer Group" : "Name") width: (parent.width / 3) | 0 } Label { - text: Cura.MachineManager.activeMachineName + text: Cura.MachineManager.activeMachineNetworkGroupName != "" ? Cura.MachineManager.activeMachineNetworkGroupName : Cura.MachineManager.activeMachineName width: (parent.width / 3) | 0 } }