mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4870 React to outputdeviceschanged signal, to update the list of
the configurations.
This commit is contained in:
parent
591d3f29ec
commit
fa5aa0a53f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue