mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Grey out menu if no items are present
CURA-11266
This commit is contained in:
parent
b0d4d4a0e7
commit
cf2be72cd3
@ -76,6 +76,7 @@ Cura.Menu
|
|||||||
{
|
{
|
||||||
id: genericMenu
|
id: genericMenu
|
||||||
title: catalog.i18nc("@label:category menu label", "Generic")
|
title: catalog.i18nc("@label:category menu label", "Generic")
|
||||||
|
enabled: genericMaterialsModel.items.length > 0
|
||||||
|
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user