mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Merge pull request #19615 from Ultimaker/CURA-12076_permissions_after_login
[CURA-12076] Directly update permissions after login.
This commit is contained in:
commit
6cf55cd743
@ -232,6 +232,7 @@ class Account(QObject):
|
|||||||
|
|
||||||
def _onProfileChanged(self, profile: Optional[UserProfile]) -> None:
|
def _onProfileChanged(self, profile: Optional[UserProfile]) -> None:
|
||||||
self._user_profile = profile
|
self._user_profile = profile
|
||||||
|
self._updatePermissions()
|
||||||
self.userProfileChanged.emit()
|
self.userProfileChanged.emit()
|
||||||
|
|
||||||
def _sync(self) -> None:
|
def _sync(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user