summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2017-07-20 20:09:53 +0200
committerJohannes Mueller <github@johannes-mueller.org>2017-07-20 20:09:53 +0200
commit67bec5b5be485df96525efe7d9702e5afcb38696 (patch)
tree66431232d8433519703424e9226f61128c25ee4d /libs/ardour/route.cc
parentb03ee727e9e3bf10e320b4acc0e58282cbc6e74f (diff)
Set the name of the route in a route template to the template name
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 22d9713486..ce8477579f 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -4022,6 +4022,7 @@ Route::save_as_template (const string& path, const string& name)
PBD::Unwinder<std::string> uw (_session._template_state_dir, state_dir);
XMLNode& node (state (false));
+ node.set_property (X_("name"), name);
XMLTree tree;