mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Fix setting the active container stack on start
When starting Cura, no nozzle, material or quality would seem to be selected. This commit makes sure _active_container_stack gets properly initialised. I'll hijack CURA-1844 for this.
This commit is contained in:
parent
cd09017328
commit
1b2514ae2e
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ class MachineManager(QObject):
|
|||
quality.nameChanged.disconnect(self._onQualityNameChanged)
|
||||
|
||||
self._global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
self._active_container_stack = self._global_container_stack
|
||||
|
||||
self.globalContainerChanged.emit()
|
||||
|
||||
if self._global_container_stack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue