mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-21 01:33:13 +08:00
Merge branch 'master' of https://github.com/Ultimaker/JediWifiPrintingPlugin
This commit is contained in:
commit
2347624bde
@ -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
|
||||||
|
@ -246,14 +246,15 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def requestAuthentication(self, message_id, action_id):
|
def requestAuthentication(self, message_id, action_id):
|
||||||
self._authentication_failed_message.hide()
|
if action_id == "Request" or action_id == "Retry":
|
||||||
self._not_authenticated_message.hide()
|
self._authentication_failed_message.hide()
|
||||||
self._authentication_state = AuthState.NotAuthenticated
|
self._not_authenticated_message.hide()
|
||||||
self._authentication_counter = 0
|
self._authentication_state = AuthState.NotAuthenticated
|
||||||
self._authentication_requested_message.setProgress(0)
|
self._authentication_counter = 0
|
||||||
self._authentication_id = None
|
self._authentication_requested_message.setProgress(0)
|
||||||
self._authentication_key = None
|
self._authentication_id = None
|
||||||
self._createNetworkManager() # Re-create network manager to force re-authentication.
|
self._authentication_key = None
|
||||||
|
self._createNetworkManager() # Re-create network manager to force re-authentication.
|
||||||
|
|
||||||
## Request data from the connected device.
|
## Request data from the connected device.
|
||||||
def _update(self):
|
def _update(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user