diff options
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 84288db326..77e862d8a9 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -842,15 +842,13 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool /* These controllers are region "automation", so we do not create * an AutomationList/Line for the track */ - boost::shared_ptr<AutomationControl> c = _route->get_control (param); - assert (c); - boost::shared_ptr<AutomationTimeAxisView> track ( new AutomationTimeAxisView ( _session, _route, _route, - c, + boost::shared_ptr<AutomationControl> (), + param, _editor, *this, true, |