mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:56:01 +08:00
CURA-4870 React to outputdeviceschanged signal, to update the list of
the configurations.
This commit is contained in:
parent
591d3f29ec
commit
fa5aa0a53f
@ -74,6 +74,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||||||
self._address = ""
|
self._address = ""
|
||||||
self._connection_text = ""
|
self._connection_text = ""
|
||||||
self.printersChanged.connect(self._onPrintersChanged)
|
self.printersChanged.connect(self._onPrintersChanged)
|
||||||
|
Application.getInstance().getOutputDeviceManager().outputDevicesChanged.connect(self._updateUniqueConfigurations)
|
||||||
|
|
||||||
@pyqtProperty(str, notify = connectionTextChanged)
|
@pyqtProperty(str, notify = connectionTextChanged)
|
||||||
def address(self):
|
def address(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user