Set session of PluginPinWidget created after ::set_session()
PluginPinWidgets initially receive their Session pointer by PluginPinDialog::set_session(). When a RouteProcessorChange occurs all PluginPinWidgets are recreated. Those newly created instances need a pointer to the session.
This commit is contained in:
parent
20fb871d5a
commit
6c19a776f4
|
@ -2033,6 +2033,7 @@ PluginPinDialog::add_processor (boost::weak_ptr<Processor> p)
|
|||
#endif
|
||||
if (pi) {
|
||||
ppw.push_back (PluginPinWidgetPtr(new PluginPinWidget (pi)));
|
||||
ppw.back()->set_session (_session);
|
||||
vbox->pack_start (*ppw.back());
|
||||
} else {
|
||||
HBox* hbox = manage (new HBox ());
|
||||
|
|
Loading…
Reference in New Issue
Block a user