mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Partial revert of #6432, actually fix refreshing configurations
This commit is contained in:
parent
2c12d713e3
commit
01e665a0d7
1 changed files with 5 additions and 1 deletions
|
@ -92,7 +92,11 @@ class LocalClusterOutputDeviceManager:
|
|||
|
||||
## Connect the active machine to a given device.
|
||||
def associateActiveMachineWithPrinterDevice(self, device: LocalClusterOutputDevice) -> None:
|
||||
self._createMachineFromDiscoveredDevice(device.getId())
|
||||
active_machine = CuraApplication.getInstance().getGlobalContainerStack()
|
||||
if not active_machine:
|
||||
return
|
||||
self._connectToOutputDevice(device, active_machine)
|
||||
self._connectToActiveMachine()
|
||||
|
||||
## Callback for when the active machine was changed by the user or a new remote cluster was found.
|
||||
def _connectToActiveMachine(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue