mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Let the settingsMenu use the extruders of the active machine instead of the extruderModel
The extruder model gets updated way to much (for all material changes) but we only need the number and names of the extruders, since the other menu's do this by themselves
This commit is contained in:
parent
3132b1f689
commit
909f36d28e
2 changed files with 16 additions and 5 deletions
|
@ -16,10 +16,11 @@ Menu
|
|||
|
||||
Instantiator
|
||||
{
|
||||
model: Cura.ExtrudersModel { simpleNames: true }
|
||||
model: Cura.MachineManager.activeMachine.extruderList
|
||||
|
||||
Menu
|
||||
{
|
||||
title: model.name
|
||||
title: modelData.name
|
||||
|
||||
NozzleMenu { title: Cura.MachineManager.activeDefinitionVariantsName; visible: Cura.MachineManager.hasVariants; extruderIndex: index }
|
||||
MaterialMenu { title: catalog.i18nc("@title:menu", "&Material"); visible: Cura.MachineManager.hasMaterials; extruderIndex: index }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue