summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-07 13:45:52 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-07 13:45:52 +0000
commit3ba6804f27f43fe968884351762173313063b865 (patch)
tree0bc26627e9f25b12dba77ca123642f7849c4ffc1 /gtk2_ardour/automation_time_axis.cc
parent10e1807fba8e9c4aa543b8caced2fdf506990723 (diff)
Don't create new regions on clicks on MIDI plugin automation
tracks (#4298). git-svn-id: svn://localhost/ardour2/branches/3.0@10062 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 7f70d3cd84..e4daf6e74c 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -87,6 +87,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
, _view (show_regions ? new AutomationStreamView (*this) : 0)
, _name (nom)
, auto_button (X_("")) /* force addition of a label */
+ , _show_regions (show_regions)
{
if (!have_name_font) {
name_font = get_font_for_style (X_("AutomationTrackName"));