mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 12:21:26 -07:00
Custom profiles can now be renamed
This commit is contained in:
parent
80f24b6c54
commit
01999f7ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ UM.ManagementPage
|
|||
id: renameDialog;
|
||||
object: base.currentItem != null ? base.currentItem.name : "";
|
||||
property bool removeWhenRejected: false;
|
||||
onAccepted: base.model.renameProfile(base.currentItem.name, newName.trim());
|
||||
onAccepted: base.model.rename(base.currentItem.id, newName.trim());
|
||||
onRejected: {
|
||||
if(removeWhenRejected) {
|
||||
base.model.removeProfile(base.currentItem.name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue