mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-5158 Fix some mistakes in previous confict fixing.
This commit is contained in:
parent
2bf3fa35ac
commit
b2950eca51
2 changed files with 0 additions and 24 deletions
|
|
@ -83,16 +83,4 @@ ToolButton
|
||||||
}
|
}
|
||||||
|
|
||||||
menu: PrinterMenu { }
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -661,16 +661,4 @@ Rectangle
|
||||||
watchedProperties: [ "value" ]
|
watchedProperties: [ "value" ]
|
||||||
storeIndex: 0
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue