mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
refresh plugin list on signal
This commit is contained in:
parent
6c70caec5f
commit
cc2af1cdfb
2 changed files with 2 additions and 2 deletions
|
|
@ -73,6 +73,7 @@ PluginSelector::PluginSelector (PluginManager& mgr)
|
||||||
in_row_change = false;
|
in_row_change = false;
|
||||||
|
|
||||||
manager.PluginListChanged.connect (plugin_list_changed_connection, invalidator (*this), boost::bind (&PluginSelector::build_plugin_menu, this), gui_context());
|
manager.PluginListChanged.connect (plugin_list_changed_connection, invalidator (*this), boost::bind (&PluginSelector::build_plugin_menu, this), gui_context());
|
||||||
|
manager.PluginListChanged.connect (plugin_list_changed_connection, invalidator (*this), boost::bind (&PluginSelector::refill, this), gui_context());
|
||||||
build_plugin_menu ();
|
build_plugin_menu ();
|
||||||
|
|
||||||
plugin_model = Gtk::ListStore::create (plugin_columns);
|
plugin_model = Gtk::ListStore::create (plugin_columns);
|
||||||
|
|
@ -433,7 +434,6 @@ void
|
||||||
PluginSelector::btn_update_clicked()
|
PluginSelector::btn_update_clicked()
|
||||||
{
|
{
|
||||||
manager.refresh ();
|
manager.refresh ();
|
||||||
refill();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ class PluginSelector : public ArdourDialog
|
||||||
Gtk::Menu* create_by_creator_menu (ARDOUR::PluginInfoList&);
|
Gtk::Menu* create_by_creator_menu (ARDOUR::PluginInfoList&);
|
||||||
Gtk::Menu* create_by_category_menu (ARDOUR::PluginInfoList&);
|
Gtk::Menu* create_by_category_menu (ARDOUR::PluginInfoList&);
|
||||||
void build_plugin_menu ();
|
void build_plugin_menu ();
|
||||||
PBD::ScopedConnection plugin_list_changed_connection;
|
PBD::ScopedConnectionList plugin_list_changed_connection;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __ardour_plugin_selector_h__
|
#endif // __ardour_plugin_selector_h__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue