mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remove global changed check that prevents signal emit
CURA-5157
This commit is contained in:
parent
ca4cb419ff
commit
98eed89686
1 changed files with 1 additions and 3 deletions
|
|
@ -231,12 +231,10 @@ class MachineManager(QObject):
|
|||
extruder_stack.containersChanged.disconnect(self._onInstanceContainersChanged)
|
||||
|
||||
# Update the local global container stack reference
|
||||
old_global_container_stack = self._global_container_stack
|
||||
self._global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
if self._global_container_stack:
|
||||
self.updateDefaultExtruder()
|
||||
self.updateNumberExtrudersEnabled()
|
||||
if old_global_container_stack != self._global_container_stack:
|
||||
self.globalContainerChanged.emit()
|
||||
|
||||
# after switching the global stack we reconnect all the signals and set the variant and material references
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue