mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
No longer inject parameters into function handling in qml
This commit is contained in:
parent
1df9ca55c8
commit
af712785c8
12 changed files with 36 additions and 39 deletions
|
|
@ -45,8 +45,8 @@ Cura.Menu
|
|||
shortcut: "Ctrl+" + (model.index + 1)
|
||||
}
|
||||
// Add it to the fifth position (and above) as we want it to be added after the extruder header.
|
||||
onObjectAdded: base.insertItem(index + 5, object)
|
||||
onObjectRemoved: base.removeItem(object)
|
||||
onObjectAdded: function(index, object) { base.insertItem(index + 5, object) }
|
||||
onObjectRemoved: function(object) { base.removeItem(object) }
|
||||
}
|
||||
|
||||
// Global actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue