Don't allow creating profiles based on empty_profile

...because empty_profile has no quality_type
CURA-2271
This commit is contained in:
fieldOfView 2016-10-11 15:20:13 +02:00
parent e312530840
commit 95fabbaf6d
2 changed files with 3 additions and 3 deletions

View file

@ -137,7 +137,7 @@ Item
Action
{
id: addProfileAction;
enabled: Cura.MachineManager.isActiveStackValid && Cura.MachineManager.hasUserSettings
enabled: Cura.MachineManager.isActiveStackValid && Cura.MachineManager.hasUserSettings && Cura.MachineManager.activeQualityId != "empty_quality"
text: catalog.i18nc("@action:inmenu menubar:profile","&Create profile from current settings...");
}