mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Rename the route in a route template when renaming the template
This commit is contained in:
parent
67bec5b5be
commit
0a462d1964
1 changed files with 1 additions and 0 deletions
|
|
@ -560,6 +560,7 @@ RouteTemplateManager::rename_template (TreeModel::iterator& item, const Glib::us
|
|||
error << string_compose (_("Could not parse template file \"%1\"."), old_filepath) << endmsg;
|
||||
return;
|
||||
}
|
||||
tree.root()->set_property (X_("name"), new_name);
|
||||
tree.root()->children().front()->set_property (X_("name"), new_name);
|
||||
|
||||
const bool adjusted = adjust_plugin_paths (tree.root(), old_name, string (new_name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue