mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-09 15:09:01 +08:00
Partial revert of #6432, actually fix refreshing configurations
This commit is contained in:
parent
2c12d713e3
commit
01e665a0d7
@ -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…
x
Reference in New Issue
Block a user