mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Added defaults to requestAcces
Cura-2277
This commit is contained in:
parent
6435e8ce6f
commit
1ce6c3a4f1
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._authentication_state = auth_state
|
||||
|
||||
@pyqtSlot()
|
||||
def requestAuthentication(self, message_id, action_id):
|
||||
def requestAuthentication(self, message_id = None, action_id = "Retry"):
|
||||
if action_id == "Request" or action_id == "Retry":
|
||||
self._authentication_failed_message.hide()
|
||||
self._not_authenticated_message.hide()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue