mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
DSP-Load Window: subscribe to newly added routes
This fixes an issue when adding plugins with the route (e.g MIDI) or showing the window before adding a route in the first place.
This commit is contained in:
parent
9971e718fe
commit
2bb22d2a14
1 changed files with 5 additions and 0 deletions
|
|
@ -121,6 +121,11 @@ PluginDSPLoadWindow::refill_processors ()
|
|||
/* may be called from session d'tor, removing monitor-section w/plugin */
|
||||
return;
|
||||
}
|
||||
|
||||
_session->RouteAdded.connect (
|
||||
_route_connections, invalidator (*this), boost::bind (&PluginDSPLoadWindow::refill_processors, this), gui_context()
|
||||
);
|
||||
|
||||
RouteList routes = _session->get_routelist ();
|
||||
for (RouteList::const_iterator i = routes.begin(); i != routes.end(); ++i) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue