mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 05:07:07 +01:00
Only list hidden plugins with "Show hidden only"
This commit is contained in:
parent
2b5ee5a963
commit
bdac92b763
1 changed files with 5 additions and 4 deletions
|
|
@ -377,6 +377,9 @@ PluginSelector::show_this_plugin (const PluginInfoPtr& info, const std::string&
|
|||
|
||||
/* user asked to ignore filters */
|
||||
if (maybe_show && _search_ignore_checkbox->get_active()) {
|
||||
if (manager.get_status (info) == PluginManager::Hidden) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -401,10 +404,8 @@ PluginSelector::show_this_plugin (const PluginInfoPtr& info, const std::string&
|
|||
return false;
|
||||
}
|
||||
|
||||
if (manager.get_status (info) == PluginManager::Hidden) {
|
||||
if (!_fil_hidden_radio->get_active() && !_fil_all_radio->get_active()) {
|
||||
return false;
|
||||
}
|
||||
if (!_fil_hidden_radio->get_active() && manager.get_status (info) == PluginManager::Hidden) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Filter "type" combobox */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue