mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08: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
@ -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…
x
Reference in New Issue
Block a user