mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Counter is now only reset if no previous state was set
This commit is contained in:
parent
f75b4739f6
commit
f5886e5ecc
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._post_reply = None # It can happen that the wrapped c++ object is already deleted.
|
||||
return
|
||||
else:
|
||||
self._recreate_network_manager_count = 1
|
||||
if not self._connection_state_before_timeout:
|
||||
self._recreate_network_manager_count = 1
|
||||
|
||||
# Check that we aren't in a timeout state
|
||||
if self._last_response_time and not self._connection_state_before_timeout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue