mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:59:02 +08:00
Revert "PrinterOutputDevice: Adding isConnectionState"
1. Shouldn't go directly to upstream's master 2. GitHub still loves to kill the last line This reverts commit bafaf16fcbba5867353d012509f27c1c3f1a8d8f.
This commit is contained in:
parent
bafaf16fcb
commit
6dc194d8de
@ -366,11 +366,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||
self._connection_state = connection_state
|
||||
self.connectionStateChanged.emit(self._id)
|
||||
|
||||
## Check the connection state of this output device.
|
||||
# /param connection_state ConnectionState enum.
|
||||
def isConnectionState(self, connection_state):
|
||||
return self._connection_state == connection_state
|
||||
|
||||
@pyqtProperty(str, notify = connectionTextChanged)
|
||||
def connectionText(self):
|
||||
return self._connection_text
|
||||
@ -540,4 +535,4 @@ class ConnectionState(IntEnum):
|
||||
connecting = 1
|
||||
connected = 2
|
||||
busy = 3
|
||||
error = 4
|
||||
error = 4
|
Loading…
x
Reference in New Issue
Block a user