mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 15:25:09 -06:00
Fix ordering of material menu selection
CURA-8683
This commit is contained in:
parent
babf3043f8
commit
4db8878317
1 changed files with 3 additions and 3 deletions
|
@ -66,11 +66,11 @@ Cura.Menu
|
|||
checked: model.root_material_id === materialMenu.currentRootMaterialId
|
||||
onTriggered: Cura.MachineManager.setMaterial(extruderIndex, model.container_node)
|
||||
}
|
||||
onObjectAdded: materialMenu.insertItem(index, object)
|
||||
onObjectAdded: materialMenu.insertItem(index + 1, object)
|
||||
onObjectRemoved: materialMenu.removeItem(index)
|
||||
}
|
||||
|
||||
MenuSeparator {}
|
||||
Cura.MenuSeparator { visible: favoriteMaterialsModel.items.length > 0}
|
||||
|
||||
Menu
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ Cura.Menu
|
|||
onObjectRemoved: brandMenu.removeMenu(object)
|
||||
}
|
||||
}
|
||||
onObjectAdded: materialMenu.insertMenu(index, object)
|
||||
onObjectAdded: materialMenu.insertMenu(index + 4, object)
|
||||
onObjectRemoved: materialMenu.removeMenu(object)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue