CURA-4870 Update the configuration also when the type or the buildplate

changed signal is emitted.
This commit is contained in:
Diego Prado Gesto 2018-03-12 16:37:35 +01:00
parent da54c93fda
commit 39a7f5a53d

View file

@ -46,6 +46,8 @@ class PrinterOutputModel(QObject):
# Update the printer configuration every time any of the extruders changes its configuration
for extruder in self._extruders:
extruder.extruderConfigurationChanged.connect(self._updatePrinterConfiguration)
self.typeChanged.connect(self._updatePrinterConfiguration)
self.buildplateChanged.connect(self._updatePrinterConfiguration)
self._camera = None