summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-06 02:41:46 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-06 02:41:46 +0000
commit5546fa38fc0ba2d33288914d4fb40fe4d3d837bf (patch)
tree4bf6e43baf9814e39cdd51784441f42887a05c2c /libs/ardour/ladspa_plugin.cc
parent433196a83ac5500291ab2dbadf15a25b1b74335d (diff)
Manage attempts to save plugin presets with the same name. Helps with #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8191 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index fb5a88e5f8..00454cea5e 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -372,6 +372,12 @@ LadspaPlugin::save_preset (string name)
return Plugin::save_preset (name, "ladspa");
}
+void
+LadspaPlugin::remove_preset (string name)
+{
+ return Plugin::remove_preset (name, "ladspa");
+}
+
int
LadspaPlugin::set_state (const XMLNode& node, int version)
{