mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06: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,13 +231,11 @@ 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()
|
||||
self.globalContainerChanged.emit()
|
||||
|
||||
# after switching the global stack we reconnect all the signals and set the variant and material references
|
||||
if self._global_container_stack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue