13
0

Fix processor box for no crash on click

This commit is contained in:
Len Ovens 2019-02-22 13:39:17 -08:00
parent 5414728c18
commit fe1442dec9
2 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,7 @@ FoldbackStrip::FoldbackStrip (Mixer_UI& mx, Session* sess, boost::shared_ptr<Rou
, fb_level_control (0) , fb_level_control (0)
// , _visibility (X_("mixer-element-visibility")) // , _visibility (X_("mixer-element-visibility"))
{ {
_session = sess;
init (); init ();
set_route (rt); set_route (rt);
} }
@ -124,6 +125,7 @@ FoldbackStrip::init ()
insert_box = new ProcessorBox (0, boost::bind (&FoldbackStrip::plugin_selector, this), _pr_selection, 0); insert_box = new ProcessorBox (0, boost::bind (&FoldbackStrip::plugin_selector, this), _pr_selection, 0);
insert_box->set_no_show_all (); insert_box->set_no_show_all ();
insert_box->show (); insert_box->show ();
insert_box->set_session (_session);
// send_scroller.show (); // send_scroller.show ();
send_display.show (); send_display.show ();

View File

@ -148,6 +148,7 @@ private:
bool _mixer_owned; bool _mixer_owned;
Width _width; Width _width;
void* _width_owner; void* _width_owner;
ARDOUR::Session* _session;
Gtk::EventBox spacer; Gtk::EventBox spacer;
Gtk::VBox send_display; Gtk::VBox send_display;