Rename dialog shows again when creating new profile from current settings

CURA-2220
This commit is contained in:
Jaime van Kessel 2016-09-02 11:30:50 +02:00
parent 1699cd741f
commit e5aa7ff18a

View File

@ -144,7 +144,6 @@ UM.ManagementPage
signal showProfileNameDialog() signal showProfileNameDialog()
onShowProfileNameDialog: onShowProfileNameDialog:
{ {
renameDialog.removeWhenRejected = true;
renameDialog.open(); renameDialog.open();
renameDialog.selectText(); renameDialog.selectText();
} }
@ -161,7 +160,7 @@ UM.ManagementPage
Label { Label {
id: profileName id: profileName
text: base.currentItem ? base.currentItem.name : "" text: base.currentItem ? base.currentItem.name r: ""
font: UM.Theme.getFont("large") font: UM.Theme.getFont("large")
width: parent.width width: parent.width
elide: Text.ElideRight elide: Text.ElideRight