CURA-4870 React to outputdeviceschanged signal, to update the list of

the configurations.
This commit is contained in:
Diego Prado Gesto 2018-03-08 16:55:40 +01:00
parent 591d3f29ec
commit fa5aa0a53f

View file

@ -74,6 +74,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
self._address = ""
self._connection_text = ""
self.printersChanged.connect(self._onPrintersChanged)
Application.getInstance().getOutputDeviceManager().outputDevicesChanged.connect(self._updateUniqueConfigurations)
@pyqtProperty(str, notify = connectionTextChanged)
def address(self):