diff --git a/cura/API/Account.py b/cura/API/Account.py index 94b28e7b64..fa42c3c44d 100644 --- a/cura/API/Account.py +++ b/cura/API/Account.py @@ -207,7 +207,7 @@ class Account(QObject): if self._update_timer.isActive(): self._update_timer.stop() - def _onProfileChanged(self, profile: UserProfile) -> None: + def _onProfileChanged(self, profile: Optional[UserProfile]) -> None: self._user_profile = profile self.userProfileChanged.emit()