From 50999a075e3bb241e23232e386883c7d98271ce3 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 11 Mar 2019 10:46:41 +0100 Subject: [PATCH] Fix stupid mistake (signals need an emit, not a direct call) CURA-6278 --- cura/OAuth2/AuthorizationService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index ab4ddcebc9..97046e091d 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/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: