Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura/API
diff options
context:
space:
mode:
authorNino van Hooff <ninovanhooff@gmail.com>2020-06-17 16:35:19 +0300
committerGitHub <noreply@github.com>2020-06-17 16:35:19 +0300
commit5c52dcc5c4b280e8408e933d16f60cec5499adb6 (patch)
tree0babdb7b5128f0de9505c3de2247d8fe5c64ab86 /cura/API
parent7e18e796dc69ce40bc4df8906016cb5b1ce8c566 (diff)
parent6a02abefcdd61ca15acf3e85477ae45ae3f32c2b (diff)
Merge pull request #7935 from Ultimaker/CURA-7418-update-profile-window
CURA-7418 update profile window
Diffstat (limited to 'cura/API')
-rw-r--r--cura/API/Account.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cura/API/Account.py b/cura/API/Account.py
index 1250d8b81a..e190fe9b42 100644
--- a/cura/API/Account.py
+++ b/cura/API/Account.py
@@ -103,6 +103,11 @@ class Account(QObject):
self._authorization_service.accessTokenChanged.connect(self._onAccessTokenChanged)
self._authorization_service.loadAuthDataFromPreferences()
+
+ @pyqtProperty(int, notify=syncStateChanged)
+ def syncState(self):
+ return self._sync_state
+
def setSyncState(self, service_name: str, state: int) -> None:
""" Can be used to register sync services and update account sync states