From 0a462d19645ae4b8c75b49b1b67a789245f31e5d Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Thu, 20 Jul 2017 20:10:23 +0200 Subject: Rename the route in a route template when renaming the template --- gtk2_ardour/template_dialog.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/template_dialog.cc b/gtk2_ardour/template_dialog.cc index c437c246aa..435d2c0fb6 100644 --- a/gtk2_ardour/template_dialog.cc +++ b/gtk2_ardour/template_dialog.cc @@ -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)); -- cgit v1.2.3