mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Fix triggering actions from the extensions menu
Contributes to CURA-1540, CURA-1278
This commit is contained in:
parent
f5fce51238
commit
6aa00a951f
@ -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…
x
Reference in New Issue
Block a user