mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
getActiveExtruderStack now returns stack based on machine_id instead of definiton ID
Contributes to CURA-1898
This commit is contained in:
parent
b33c2f9c25
commit
dfd56d049f
2 changed files with 5 additions and 8 deletions
|
@ -239,7 +239,6 @@ class MachineManager(QObject):
|
|||
if self._active_container_stack and self._active_container_stack != self._global_container_stack:
|
||||
self._active_container_stack.containersChanged.disconnect(self._onInstanceContainersChanged)
|
||||
self._active_container_stack.propertyChanged.disconnect(self._onGlobalPropertyChanged)
|
||||
|
||||
self._active_container_stack = ExtruderManager.getInstance().getActiveExtruderStack()
|
||||
if self._active_container_stack:
|
||||
self._active_container_stack.containersChanged.connect(self._onInstanceContainersChanged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue