summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-10 11:55:19 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-10 11:55:19 -0500
commitdca2c19ef5efa7459b8e4f6d423f97255f2619dc (patch)
treef0f6cb38e384e5fa7cca12b5ac5a7d18b56fb8f9 /gtk2_ardour/region_view.cc
parent395c3d35d13c193d2d0c447710d3f685a1e79f99 (diff)
regionviews used for (MIDI) automation (CC) should not show a name highlight
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r--gtk2_ardour/region_view.cc5
1 files changed, 3 insertions, 2 deletions
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)