diff options
author | Robin Gareus <robin@gareus.org> | 2018-01-31 14:04:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-01-31 14:04:14 +0100 |
commit | 2b5ee5a9631665f6c36dd7fd73985a5f0bbeef90 (patch) | |
tree | 36a16629fdaca1eff3cc5d77d7dc146a0ba31582 /gtk2_ardour/plugin_selector.cc | |
parent | 09ca375e157aef1b81997fe8b80fb9828bfd6351 (diff) |
Use new tag-search API
This fixes an issue where "By Tag" dropdown contained empty menu-items,
in case a hidden plugin is the only one with a given tag.
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r-- | gtk2_ardour/plugin_selector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc index 077c600ffd..e7e8044821 100644 --- a/gtk2_ardour/plugin_selector.cc +++ b/gtk2_ardour/plugin_selector.cc @@ -1126,7 +1126,7 @@ PluginSelector::create_by_tags_menu (ARDOUR::PluginInfoList& all_plugs) by_tags->set_name("ArdourContextMenu"); MenuList& by_tags_items = by_tags->items(); - std::vector<std::string> all_tags = manager.get_all_tags(false); + std::vector<std::string> all_tags = manager.get_all_tags (PluginManager::NoHidden); for (vector<string>::iterator t = all_tags.begin(); t != all_tags.end(); ++t) { Gtk::Menu *submenu = new Gtk::Menu; by_tags_items.push_back (MenuElem (*t, *manage (submenu))); |