mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Properly reload extruders at the start
The extruder manager was too late to catch the initial global stack switch and machine switch. Now it just always reloads the extruders at the beginning. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
9aa8ca3292
commit
d810c7ddbb
2 changed files with 4 additions and 1 deletions
|
@ -53,4 +53,5 @@ class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
|||
"index": index
|
||||
}
|
||||
self.appendItem(item)
|
||||
print("Appending extruder " + extruder.name + " to presenter.")
|
||||
self.sort(lambda item: item["index"])
|
Loading…
Add table
Add a link
Reference in a new issue