mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Convert SYNC_STATES to Enum
CURA-7290
This commit is contained in:
parent
637a241d99
commit
eac884fcd2
3 changed files with 23 additions and 18 deletions
|
@ -104,7 +104,7 @@ class CloudOutputDeviceManager:
|
|||
self._update_timer.stop()
|
||||
|
||||
self._syncing = True
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, "syncing")
|
||||
self._account.setSyncState(self.SYNC_SERVICE_NAME, Account.SyncState.SYNCING)
|
||||
self._api.getClusters(self._onGetRemoteClustersFinished, self._onGetRemoteClusterFailed)
|
||||
|
||||
def _onGetRemoteClustersFinished(self, clusters: List[CloudClusterResponse]) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue