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.
{
PluginManager& mgr (PluginManager::instance());
- std::vector<std::string> tags = mgr.get_all_tags (true);
+ std::vector<std::string> tags = mgr.get_all_tags (PluginManager::OnlyFavorites);
favorite_plugins_tag_combo.clear();
favorite_plugins_tag_combo.append_text (_("Show All"));
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)));