From 5546fa38fc0ba2d33288914d4fb40fe4d3d837bf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Dec 2010 02:41:46 +0000 Subject: 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 --- libs/ardour/ladspa_plugin.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/ladspa_plugin.cc') 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) { -- cgit v1.2.3