mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Added icon for custom Menu items
This commit is contained in:
parent
f577789859
commit
c4fa50a8fc
2 changed files with 8 additions and 4 deletions
|
@ -568,9 +568,10 @@ Item
|
|||
MenuItem
|
||||
{
|
||||
text: model.name
|
||||
iconName: model.iconName
|
||||
onTriggered:
|
||||
{
|
||||
customMenuItems.model.callMenuItemMethod(name, model.actions)
|
||||
customMenuItems.model.callMenuItemMethod(name, model.actions, {"key": contextMenu.key})
|
||||
}
|
||||
}
|
||||
onObjectAdded: contextMenu.insertItem(index, object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue