This commit is contained in:
fieldOfView 2016-09-13 11:04:10 +02:00
commit 2347624bde
2 changed files with 10 additions and 8 deletions

View File

@ -7,6 +7,7 @@ install(FILES
DiscoverUM3Action.qml DiscoverUM3Action.qml
NetworkPrinterOutputDevice.py NetworkPrinterOutputDevice.py
NetworkPrinterOutputDevicePlugin.py NetworkPrinterOutputDevicePlugin.py
UM3InfoComponents.qml
LICENSE LICENSE
README.md README.md
DESTINATION lib/cura/plugins/JediWifiPrintingPlugin DESTINATION lib/cura/plugins/JediWifiPrintingPlugin

View File

@ -246,6 +246,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
@pyqtSlot() @pyqtSlot()
def requestAuthentication(self, message_id, action_id): def requestAuthentication(self, message_id, action_id):
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()
self._authentication_state = AuthState.NotAuthenticated self._authentication_state = AuthState.NotAuthenticated