mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-04 09:35:10 +08:00
Added defaults to requestAcces
Cura-2277
This commit is contained in:
parent
6435e8ce6f
commit
1ce6c3a4f1
@ -245,7 +245,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
self._authentication_state = auth_state
|
self._authentication_state = auth_state
|
||||||
|
|
||||||
@pyqtSlot()
|
@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":
|
if action_id == "Request" or action_id == "Retry":
|
||||||
self._authentication_failed_message.hide()
|
self._authentication_failed_message.hide()
|
||||||
self._not_authenticated_message.hide()
|
self._not_authenticated_message.hide()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user