mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge pull request #7935 from Ultimaker/CURA-7418-update-profile-window
CURA-7418 update profile window
This commit is contained in:
commit
5c52dcc5c4
13 changed files with 202 additions and 106 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue