Moved function out of MachineManager, changed "Valid" to "HaveErrors".

CURA-2730
This commit is contained in:
Jack Ha 2016-10-20 16:16:33 +02:00
parent 98688bf013
commit d308cd45bc
4 changed files with 22 additions and 34 deletions

View file

@ -62,7 +62,7 @@ UM.ManagementPage
Button
{
text: catalog.i18nc("@label", "Create")
enabled: base.canCreateProfile() && Cura.MachineManager.areStacksValid
enabled: base.canCreateProfile() && !Cura.MachineManager.stacksHaveErrors
visible: base.canCreateProfile()
iconName: "list-add";