mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Closing a connection now actually stops the updates
CL-541
This commit is contained in:
parent
a9f52c2ad6
commit
fd548975cc
3 changed files with 8 additions and 3 deletions
|
@ -54,6 +54,9 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
def isConnected(self):
|
||||
return self._connection_state != ConnectionState.closed and self._connection_state != ConnectionState.error
|
||||
|
||||
def setConnectionState(self, new_state):
|
||||
self._connection_state = new_state
|
||||
|
||||
def _update(self):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue