summaryrefslogtreecommitdiff
path: root/libs/ardour/insert.cc
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-01-24 20:43:26 +0000
committerSampo Savolainen <v2@iki.fi>2006-01-24 20:43:26 +0000
commit3e8f74c5c4d80f780fb77611a2aded8cf4a02837 (patch)
tree0d87039cc97828b0e91980c80a7824ef7461f019 /libs/ardour/insert.cc
parenta726bca73b0dfe74bb2957022ed1542e189c6a31 (diff)
When a plugin name changes, the new name is now reflected in the GUI
(and the nested IO element in the Redirect element in the session file). git-svn-id: svn://localhost/trunk/ardour2@297 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/insert.cc')
-rw-r--r--libs/ardour/insert.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc
index c736328224..3b3999a848 100644
--- a/libs/ardour/insert.cc
+++ b/libs/ardour/insert.cc
@@ -768,6 +768,8 @@ PluginInsert::set_state(const XMLNode& node)
warning << string_compose(_("XML node describing a port automation is missing the `%1' information"), port_automation_node_name) << endmsg;
}
+ // The name of the PluginInsert comes from the plugin, nothing else
+ set_name(plugin->get_info().name,this);
return 0;
}