diff options
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index b6cea2a11a..f2e48fe6ce 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1751,13 +1751,11 @@ void RouteTimeAxisView::region_view_added (RegionView* rv) { /* XXX need to find out if automation children have automationstreamviews. If yes, no ghosts */ - if (is_audio_track()) { - for (Children::iterator i = children.begin(); i != children.end(); ++i) { - boost::shared_ptr<AutomationTimeAxisView> atv; - - if ((atv = boost::dynamic_pointer_cast<AutomationTimeAxisView> (*i)) != 0) { - atv->add_ghost(rv); - } + for (Children::iterator i = children.begin(); i != children.end(); ++i) { + boost::shared_ptr<AutomationTimeAxisView> atv; + + if ((atv = boost::dynamic_pointer_cast<AutomationTimeAxisView> (*i)) != 0) { + atv->add_ghost(rv); } } |