mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Reset lastResponseTime when trying to connect
CURA-3869
This commit is contained in:
parent
be1b5cd83a
commit
a652ddbdd8
1 changed files with 2 additions and 0 deletions
|
@ -756,6 +756,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
self._createNetworkManager()
|
||||
|
||||
self._last_response_time = time() # Ensure we reset the time when trying to connect (again)
|
||||
|
||||
self.setConnectionState(ConnectionState.connecting)
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue