CURA-4606 fixed create profile from profile context menu

This commit is contained in:
Jack Ha 2018-02-20 11:36:51 +01:00
parent 21c4753443
commit 605043235a

View file

@ -154,6 +154,15 @@ Item
}
}
// Click create profile from ... in Profile context menu
signal createProfile()
onCreateProfile:
{
createQualityDialog.object = Cura.ContainerManager.makeUniqueName(Cura.MachineManager.activeQualityOrQualityChangesName);
createQualityDialog.open();
createQualityDialog.selectText();
}
// Dialog to request a name when creating a new profile
UM.RenameDialog
{