attach triggerbox to triggerbox widget after construction

This commit is contained in:
Paul Davis 2021-12-16 15:15:14 -07:00
parent 1e09a12642
commit d933af6c81
4 changed files with 23 additions and 14 deletions

View file

@ -63,13 +63,15 @@ TriggerStrip::TriggerStrip (Session* s, boost::shared_ptr<ARDOUR::Route> rt)
, _pb_selection ()
, _tmaster_widget (-1, 16)
, _processor_box (s, boost::bind (&TriggerStrip::plugin_selector, this), _pb_selection, 0)
, _trigger_display (*rt->triggerbox (), -1., TriggerBox::default_triggers_per_box * 16.)
, _trigger_display (-1., TriggerBox::default_triggers_per_box * 16.)
, _panners (s)
, _level_meter (s)
{
init ();
set_route (rt);
_trigger_display.set_triggerbox (rt->triggerbox ().get());
io_changed ();
name_changed ();
map_frozen ();