diff options
Diffstat (limited to 'libs/ardour/lxvst_plugin.cc')
-rw-r--r-- | libs/ardour/lxvst_plugin.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 78afc55c23..432bff37c2 100644 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -108,7 +108,7 @@ std::vector<Plugin::PresetRecord> LXVSTPluginInfo::get_presets (bool user_only) const { std::vector<Plugin::PresetRecord> p; -#ifndef NO_PLUGIN_STATE + if (!Config->get_use_lxvst()) { return p; } @@ -163,9 +163,8 @@ LXVSTPluginInfo::get_presets (bool user_only) const } } } - delete t; -#endif + delete t; return p; } |