mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Add an cloud unavailable icon to the active printer icon
CURA-7437
This commit is contained in:
parent
b135da866a
commit
eef347ed6c
6 changed files with 40 additions and 10 deletions
|
@ -106,8 +106,8 @@ class CloudOutputDeviceManager:
|
|||
self._onDevicesDiscovered(new_clusters)
|
||||
|
||||
removed_device_keys = set(self._remote_clusters.keys()) - set(online_clusters.keys())
|
||||
for device_id in removed_device_keys:
|
||||
self._onDiscoveredDeviceRemoved(device_id)
|
||||
# for device_id in removed_device_keys:
|
||||
# self._onDiscoveredDeviceRemoved(device_id)
|
||||
|
||||
if new_clusters or removed_device_keys:
|
||||
self.discoveredDevicesChanged.emit()
|
||||
|
|
|
@ -265,7 +265,7 @@ class LocalClusterOutputDeviceManager:
|
|||
## Nudge the user to start using Ultimaker Cloud.
|
||||
@staticmethod
|
||||
def _showCloudFlowMessage(device: LocalClusterOutputDevice) -> None:
|
||||
if CuraApplication.getInstance().getMachineManager().activeMachineIsUsingCloudConnection:
|
||||
if CuraApplication.getInstance().getMachineManager().activeMachineHasCloudRegistration:
|
||||
# This printer is already cloud connected, so we do not bother the user anymore.
|
||||
return
|
||||
if not CuraApplication.getInstance().getCuraAPI().account.isLoggedIn:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue