Relax LV2 plugin filter to substring (e.g. "Utility", "MIDI Utility")

This commit is contained in:
Robin Gareus 2017-03-21 19:44:22 +01:00
parent 500033b416
commit 1fe10c0e3e

View file

@ -3356,10 +3356,7 @@ LV2PluginInfo::in_category (const std::string &c) const
{
// TODO use untranslated lilv_plugin_get_class()
// match gtk2_ardour/plugin_selector.cc
if (category == c) {
return true;
}
return false;
return category.find(c) != string::npos;
}
bool