Browse Source

CURA-5158 Fix some mistakes in previous confict fixing.

Diego Prado Gesto 7 years ago
parent
commit
b2950eca51
2 changed files with 0 additions and 24 deletions
  1. 0 12
      resources/qml/MachineSelection.qml
  2. 0 12
      resources/qml/Sidebar.qml

+ 0 - 12
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
-        }
-    }
 }

+ 0 - 12
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
-        }
-    }
 }