Don't add extruders twice upon start-up

The extruders are added when changing printers anyway, and we call this change signal upon start-up. So one of them is going to do unnecessary work.

Contributes to issue CURA-6793.
This commit is contained in:
Ghostkeeper 2019-10-08 15:21:19 +02:00
parent 23904e1dca
commit b137e6a36d
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 1 additions and 3 deletions

View file

@ -140,7 +140,7 @@ class MachineManager(QObject):
activeVariantChanged = pyqtSignal()
activeQualityChanged = pyqtSignal()
activeIntentChanged = pyqtSignal()
activeStackChanged = pyqtSignal() # Emitted whenever the active stack is changed (ie: when changing between extruders, changing a profile, but not when changing a value)
activeStackChanged = pyqtSignal() # Emitted whenever the active extruder stack is changed (ie: when changing between extruders, changing a profile, but not when changing a value)
extruderChanged = pyqtSignal()
globalValueChanged = pyqtSignal() # Emitted whenever a value inside global container is changed.