Make behavior of Create Profile consistent between prefs and menu

CURA-2161
This commit is contained in:
fieldOfView 2016-09-06 15:39:44 +02:00
parent a40476eb62
commit 68ddf90d58
2 changed files with 9 additions and 9 deletions

View file

@ -141,11 +141,12 @@ UM.ManagementPage
scrollviewCaption: catalog.i18nc("@label %1 is printer name","Printer: %1").arg(Cura.MachineManager.activeMachineName)
signal showProfileNameDialog()
onShowProfileNameDialog:
signal createProfile()
onCreateProfile:
{
renameDialog.open();
renameDialog.selectText();
newNameDialog.object = base.currentItem != null ? base.currentItem.name : "";
newNameDialog.open();
newNameDialog.selectText();
}
signal selectContainer(string name)