mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 22:43:15 +08:00
Reset lastResponseTime when trying to connect
CURA-3869
This commit is contained in:
parent
be1b5cd83a
commit
a652ddbdd8
@ -756,6 +756,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
|
|
||||||
self._createNetworkManager()
|
self._createNetworkManager()
|
||||||
|
|
||||||
|
self._last_response_time = time() # Ensure we reset the time when trying to connect (again)
|
||||||
|
|
||||||
self.setConnectionState(ConnectionState.connecting)
|
self.setConnectionState(ConnectionState.connecting)
|
||||||
self._update() # Manually trigger the first update, as we don't want to wait a few secs before it starts.
|
self._update() # Manually trigger the first update, as we don't want to wait a few secs before it starts.
|
||||||
if not self._use_stream:
|
if not self._use_stream:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user