CURA-4461 Force set the active quality as it is when changing the buildplate type, so the values are updated

This commit is contained in:
Diego Prado Gesto 2018-01-11 09:49:48 +01:00
parent e5e6da2970
commit a2089c6afd

View file

@ -870,6 +870,9 @@ class MachineManager(QObject):
self.blurSettings.emit()
self._new_buildplate_container = containers[0] # self._active_container_stack will be updated with a delay
Logger.log("d", "Active buildplate changed to {active_variant_buildplate_id}".format(active_variant_buildplate_id = containers[0].getId()))
# Force set the active quality as it is so the values are updated
self.setActiveQuality(self._active_container_stack.quality.getId())
else:
Logger.log("w", "While trying to set the active buildplate, no buildplate was found to replace.")