mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Don't allow creating profiles based on empty_profile
...because empty_profile has no quality_type CURA-2271
This commit is contained in:
parent
e312530840
commit
95fabbaf6d
2 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ UM.ManagementPage
|
|||
Button
|
||||
{
|
||||
text: catalog.i18nc("@label", "Create")
|
||||
enabled: base.canCreateProfile()
|
||||
enabled: base.canCreateProfile() && Cura.MachineManager.activeQualityId != "empty_quality"
|
||||
visible: base.canCreateProfile()
|
||||
iconName: "list-add";
|
||||
|
||||
|
@ -78,7 +78,7 @@ UM.ManagementPage
|
|||
Button
|
||||
{
|
||||
text: catalog.i18nc("@label", "Duplicate")
|
||||
enabled: ! base.canCreateProfile()
|
||||
enabled: ! base.canCreateProfile() && Cura.MachineManager.activeQualityId != "empty_quality"
|
||||
visible: ! base.canCreateProfile()
|
||||
iconName: "list-add";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue