mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Prevent some unneeded calling of signals
This commit is contained in:
parent
4ab79f963a
commit
85f10e7c4f
3 changed files with 3 additions and 3 deletions
|
@ -344,7 +344,9 @@ class ExtruderManager(QObject):
|
|||
self._fixSingleExtrusionMachineExtruderDefinition(global_stack)
|
||||
if extruders_changed:
|
||||
self.extrudersChanged.emit(global_stack_id)
|
||||
self.setActiveExtruderIndex(0)
|
||||
|
||||
# Set it directly instead of using setActiveExtruder, since we want to force the signal to emitted.
|
||||
self._active_extruder_index = 0
|
||||
self.activeExtruderChanged.emit()
|
||||
|
||||
# After 3.4, all single-extrusion machines have their own extruder definition files instead of reusing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue