mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Show the warning color for unsupported materials/qualities by using the new 'supported' metadata flag.
CURA-2271
This commit is contained in:
parent
df922f5382
commit
c3cf762451
6 changed files with 17 additions and 18 deletions
|
@ -62,7 +62,7 @@ UM.ManagementPage
|
|||
Button
|
||||
{
|
||||
text: catalog.i18nc("@label", "Create")
|
||||
enabled: base.canCreateProfile() && Cura.MachineManager.activeQualityId != "empty_quality"
|
||||
enabled: base.canCreateProfile()
|
||||
visible: base.canCreateProfile()
|
||||
iconName: "list-add";
|
||||
|
||||
|
@ -78,7 +78,7 @@ UM.ManagementPage
|
|||
Button
|
||||
{
|
||||
text: catalog.i18nc("@label", "Duplicate")
|
||||
enabled: ! base.canCreateProfile() && Cura.MachineManager.activeQualityId != "empty_quality"
|
||||
enabled: ! base.canCreateProfile()
|
||||
visible: ! base.canCreateProfile()
|
||||
iconName: "list-add";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue