Show submenu with material types

It's quite a hassle to get it to keep displaying...

Contributes to issue CURA-8640.
This commit is contained in:
Ghostkeeper 2022-04-08 14:58:39 +02:00
parent 11b557b3d9
commit 3de824e1a4
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 62 additions and 5 deletions

View file

@ -100,7 +100,7 @@ Cura.Menu
model: brandModel
delegate: Cura.MaterialBrandMenu
{
text: model.name
materialTypesModel: model
}
onObjectAdded: function(index, object) { materialMenu.insertItem(index + 4, object)}
onObjectRemoved: function(object) { materialMenu.removeItem(index) }