diff options
author | Robin Gareus <robin@gareus.org> | 2018-10-07 01:44:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-10-07 01:44:33 +0200 |
commit | bf7ed81a39daf433dc9c9123627afd2381e58386 (patch) | |
tree | 3f5222ab23a2b59b0962c260bd91ea4c83af7789 /gtk2_ardour/plugin_dspload_window.cc | |
parent | 1ea1312c114fce556315294fca3fb862b420711a (diff) |
Fix DSP-load window when removing plugins/routes
DropReferences of a single item should only drop references of the
instance in question -- and refill, keep the remaining items.
Diffstat (limited to 'gtk2_ardour/plugin_dspload_window.cc')
-rw-r--r-- | gtk2_ardour/plugin_dspload_window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_dspload_window.cc b/gtk2_ardour/plugin_dspload_window.cc index 9819c751b0..a86cfa2fc5 100644 --- a/gtk2_ardour/plugin_dspload_window.cc +++ b/gtk2_ardour/plugin_dspload_window.cc @@ -131,7 +131,7 @@ PluginDSPLoadWindow::refill_processors () ); (*i)->DropReferences.connect ( - _route_connections, invalidator (*this), boost::bind (&PluginDSPLoadWindow::drop_references, this), gui_context() + _route_connections, invalidator (*this), boost::bind (&PluginDSPLoadWindow::refill_processors, this), gui_context() ); } @@ -152,7 +152,7 @@ PluginDSPLoadWindow::add_processor_to_display (boost::weak_ptr<Processor> w, std if (!pi) { return; } - p->DropReferences.connect (_processor_connections, MISSING_INVALIDATOR, boost::bind (&PluginDSPLoadWindow::drop_references, this), gui_context()); + p->DropReferences.connect (_processor_connections, MISSING_INVALIDATOR, boost::bind (&PluginDSPLoadWindow::refill_processors, this), gui_context()); PluginLoadStatsGui* plsg = new PluginLoadStatsGui (pi); std::string name = route_name + " - " + pi->name(); |