Update documentation of _connectToActiveMachine

CURA-7055
This commit is contained in:
Nino van Hooff 2020-04-06 15:04:39 +02:00
parent 52ef794c4d
commit b141bb139e

View File

@ -199,8 +199,9 @@ class CloudOutputDeviceManager:
self._connectToOutputDevice(device, new_machine)
## Callback for when the active machine was changed by the user or a new remote cluster was found.
def _connectToActiveMachine(self) -> None:
"""Callback for when the active machine was changed by the user"""
active_machine = CuraApplication.getInstance().getGlobalContainerStack()
if not active_machine:
return