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
|
@ -121,6 +121,11 @@ PluginDSPLoadWindow::refill_processors ()
|
||||||
/* may be called from session d'tor, removing monitor-section w/plugin */
|
/* may be called from session d'tor, removing monitor-section w/plugin */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_session->RouteAdded.connect (
|
||||||
|
_route_connections, invalidator (*this), boost::bind (&PluginDSPLoadWindow::refill_processors, this), gui_context()
|
||||||
|
);
|
||||||
|
|
||||||
RouteList routes = _session->get_routelist ();
|
RouteList routes = _session->get_routelist ();
|
||||||
for (RouteList::const_iterator i = routes.begin(); i != routes.end(); ++i) {
|
for (RouteList::const_iterator i = routes.begin(); i != routes.end(); ++i) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user