CURA-5158 Fix some mistakes in previous confict fixing.

This commit is contained in:
Diego Prado Gesto 2018-03-29 14:37:55 +02:00
parent 2bf3fa35ac
commit b2950eca51
2 changed files with 0 additions and 24 deletions

View file

@ -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
}
}
}

View file

@ -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
}
}
}