From f92985b4acbe4eef8ddacafc3bca72ce1744db01 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 23 Apr 2018 11:57:00 +0200 Subject: [PATCH] Add Ultimaker S5 for printer type detection CURA-5221 --- plugins/UM3NetworkPrinting/DiscoverUM3Action.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/DiscoverUM3Action.qml b/plugins/UM3NetworkPrinting/DiscoverUM3Action.qml index 0aaeef8fbd..61ad9e25f2 100644 --- a/plugins/UM3NetworkPrinting/DiscoverUM3Action.qml +++ b/plugins/UM3NetworkPrinting/DiscoverUM3Action.qml @@ -255,7 +255,12 @@ Cura.MachineAction } else if(base.selectedDevice.printerType == "ultimaker3_extended") { return catalog.i18nc("@label", "Ultimaker 3 Extended") - } else + } + else if (base.selectedDevice.printerType == "ultimaker_s5") + { + return catalog.i18nc("@label", "Ultimaker S5") + } + else { return catalog.i18nc("@label", "Unknown") // We have no idea what type it is. Should not happen 'in the field' }