From dca2c19ef5efa7459b8e4f6d423f97255f2619dc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 10 Jan 2014 11:55:19 -0500 Subject: regionviews used for (MIDI) automation (CC) should not show a name highlight --- gtk2_ardour/region_view.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/region_view.cc') diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index 530d046f5a..f468eedb60 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -69,8 +69,9 @@ RegionView::RegionView (ArdourCanvas::Group* parent, Gdk::Color const & basic_color, bool automation) : TimeAxisViewItem (r->name(), *parent, tv, spu, basic_color, r->position(), r->length(), false, automation, - TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowNameText| - TimeAxisViewItem::ShowNameHighlight| TimeAxisViewItem::ShowFrame)) + (automation ? TimeAxisViewItem::ShowFrame : + TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowNameText| + TimeAxisViewItem::ShowNameHighlight| TimeAxisViewItem::ShowFrame))) , _region (r) , sync_mark(0) , sync_line(0) -- cgit v1.2.3