mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Replace some hard-coded sync states
CURA-7290
This commit is contained in:
parent
ef6cf8d5cc
commit
bfae7e9fb1
1 changed files with 2 additions and 2 deletions
|
@ -134,13 +134,13 @@ class CloudOutputDeviceManager:
|
|||
self._connectToActiveMachine()
|
||||
|
||||
self._syncing = False
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, "success")
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, Account.SyncState.SUCCESS)
|
||||
# Schedule a new update
|
||||
self._update_timer.start()
|
||||
|
||||
def _onGetRemoteClusterFailed(self):
|
||||
self._syncing = False
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, "error")
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, Account.SyncState.ERROR)
|
||||
# Schedule a new update
|
||||
self._update_timer.start()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue