mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Fix triggering actions from the extensions menu
Contributes to CURA-1540, CURA-1278
This commit is contained in:
parent
f5fce51238
commit
6aa00a951f
1 changed files with 2 additions and 1 deletions
|
@ -305,6 +305,7 @@ UM.MainWindow
|
|||
|
||||
Instantiator
|
||||
{
|
||||
id: extenions
|
||||
model: UM.ExtensionModel { }
|
||||
|
||||
Menu
|
||||
|
@ -319,7 +320,7 @@ UM.MainWindow
|
|||
MenuItem
|
||||
{
|
||||
text: model.text
|
||||
onTriggered: UM.Models.extensionModel.subMenuTriggered(name, model.text)
|
||||
onTriggered: extenions.model.subMenuTriggered(name, model.text)
|
||||
}
|
||||
onObjectAdded: sub_menu.insertItem(index, object)
|
||||
onObjectRemoved: sub_menu.removeItem(object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue