mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 08:55:54 +08:00
Properly add and remove menu items
Not really part of the ticket but logging was complaining CURA-9146
This commit is contained in:
parent
7a3af720a8
commit
9a3d089bd9
@ -28,7 +28,7 @@ Cura.Menu
|
|||||||
Cura.MachineManager.switchPrinterType(modelData.machine_type)
|
Cura.MachineManager.switchPrinterType(modelData.machine_type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onObjectAdded: menu.insertItem(index, object)
|
onObjectAdded: function(index, object) { return menu.insertItem(index, object); }
|
||||||
onObjectRemoved: menu.removeItem(object)
|
onObjectRemoved: function(object) { return menu.removeItem(object); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user