diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-09 20:34:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-09 20:34:29 +0000 |
commit | 2a5118270ca638afe16939a265459a08c25f1163 (patch) | |
tree | c2bceea144016d9d6346050547af411021c9866e | |
parent | 071cc3ef0154919ebd226a1dbc75623f756d9582 (diff) |
when adding existing processor automation time axis views, use add_automation_child(), not add_child() so that subsequent searches for this automation time axis view by parameter will find it, and not create a duplicate track
git-svn-id: svn://localhost/ardour2/branches/3.0@9700 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 9e0d06dda6..456c60d17b 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1917,7 +1917,7 @@ RouteTimeAxisView::add_processor_automation_curve (boost::shared_ptr<Processor> pan->menu_item->set_active (true); } - add_child (pan->view); + add_automation_child (control->parameter(), pan->view, true); if (_view) { _view->foreach_regionview (sigc::mem_fun(*pan->view.get(), &TimeAxisView::add_ghost)); |