Browse Source

Fix stupid mistake (signals need an emit, not a direct call)

CURA-6278
Jaime van Kessel 6 years ago
parent
commit
50999a075e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/OAuth2/AuthorizationService.py

+ 1 - 1
cura/OAuth2/AuthorizationService.py

@@ -126,7 +126,7 @@ class AuthorizationService:
             self._storeAuthData(response)
             self.onAuthStateChanged.emit(logged_in=True)
         else:
-            self.onAuthStateChanged(logged_in = False)
+            self.onAuthStateChanged.emit(logged_in = False)
 
     #   Delete the authentication data that we have stored locally (eg; logout)
     def deleteAuthData(self) -> None: