13
0

Hide LV1, VST2 instruments in dropdown if matching LV2, LV3 exist

This commit is contained in:
Robin Gareus 2020-09-28 22:35:15 +02:00
parent dcc14e9f6c
commit d4d3d84d8c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -85,6 +85,9 @@ invalid_instrument (PluginInfoPtr p) {
if (manager.get_status(p) == PluginManager::Hidden) {
return true;
}
if (manager.get_status(p) == PluginManager::Concealed) {
return true;
}
return !p->is_instrument();
}