From 3e8f74c5c4d80f780fb77611a2aded8cf4a02837 Mon Sep 17 00:00:00 2001 From: Sampo Savolainen Date: Tue, 24 Jan 2006 20:43:26 +0000 Subject: [PATCH] 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 --- libs/ardour/insert.cc | 2 ++ 1 file changed, 2 insertions(+) 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; }