Set the name of the route in a route template to the template name

This commit is contained in:
Johannes Mueller 2017-07-20 20:09:53 +02:00
parent b03ee727e9
commit 67bec5b5be

View File

@ -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;