mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Emit authenticationStateChanged when setting auth to NotAuthenticated
So that the interface may display this as well. Contributes to issue CURA-4376.
This commit is contained in:
parent
b7090feadb
commit
894c3fc0da
1 changed files with 2 additions and 2 deletions
|
@ -428,7 +428,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
Logger.log("d", "Requestion authentication for %s due to action %s" % (self._key, action_id))
|
||||
self._authentication_failed_message.hide()
|
||||
self._not_authenticated_message.hide()
|
||||
self._authentication_state = AuthState.NotAuthenticated
|
||||
self.setAuthenticationState(AuthState.NotAuthenticated)
|
||||
self._authentication_counter = 0
|
||||
self._authentication_requested_message.setProgress(0)
|
||||
self._authentication_id = None
|
||||
|
@ -615,7 +615,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
# Reset authentication state
|
||||
self._authentication_requested_message.hide()
|
||||
self._authentication_state = AuthState.NotAuthenticated
|
||||
self.setAuthenticationState(AuthState.NotAuthenticated)
|
||||
self._authentication_counter = 0
|
||||
self._authentication_timer.stop()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue