From b2950eca511eed29f800027620a3402c62f14e68 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Thu, 29 Mar 2018 14:37:55 +0200 Subject: [PATCH] CURA-5158 Fix some mistakes in previous confict fixing. --- resources/qml/MachineSelection.qml | 12 ------------ resources/qml/Sidebar.qml | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/resources/qml/MachineSelection.qml b/resources/qml/MachineSelection.qml index 670a68a22a..7a8a6b476b 100644 --- a/resources/qml/MachineSelection.qml +++ b/resources/qml/MachineSelection.qml @@ -83,16 +83,4 @@ ToolButton } menu: PrinterMenu { } - - // Make the toolbutton react when the global container changes, otherwise if Cura is not connected to the printer, - // switching printers make no reaction - Connections - { - target: Cura.MachineManager - onGlobalContainerChanged: - { - base.isNetworkPrinter = Cura.MachineManager.activeMachineNetworkKey != "" - base.printerConnected = Cura.MachineManager.printerOutputDevices.length != 0 - } - } } diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index 86e866d895..590ab29880 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -661,16 +661,4 @@ Rectangle watchedProperties: [ "value" ] storeIndex: 0 } - - // Make the ConfigurationSelector react when the global container changes, otherwise if Cura is not connected to the printer, - // switching printers make no reaction - Connections - { - target: Cura.MachineManager - onGlobalContainerChanged: - { - base.isNetworkPrinter = Cura.MachineManager.activeMachineNetworkKey != "" - base.printerConnected = Cura.MachineManager.printerOutputDevices.length != 0 - } - } }