Emit activeStackChanged as documented when containers in the active stack change

This fixes updating the intent models when you switch nozzles. Among other things, probably.

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-09-12 17:27:30 +02:00
parent 603f18ebc9
commit f4a2f3efa6
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 5 additions and 1 deletions

View file

@ -45,6 +45,7 @@ class QualityProfilesDropDownMenuModel(ListModel):
application.globalContainerStackChanged.connect(self._onChange)
machine_manager.activeQualityGroupChanged.connect(self._onChange)
machine_manager.activeStackChanged.connect(self._onChange)
machine_manager.extruderChanged.connect(self._onChange)
self._layer_height_unit = "" # This is cached