No longer inject parameters into function handling in qml

This commit is contained in:
Jaime van Kessel 2022-03-31 14:16:57 +02:00
parent 1df9ca55c8
commit af712785c8
12 changed files with 36 additions and 39 deletions

View file

@ -67,8 +67,8 @@ Cura.Menu
height: visible ? implicitHeight: 0
}
}
onObjectAdded: base.insertMenu(index, object)
onObjectRemoved: base.removeMenu(object)
onObjectAdded: function(index, object) { base.insertMenu(index, object) }
onObjectRemoved:function(object) { base.removeMenu(object)}
}
Cura.MenuSeparator { }