diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:41:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:41:23 +0000 |
commit | 3120bae8b41f3eecad25534ab6953e1b123ab9de (patch) | |
tree | 83542178768a7ca38427e2751a5a933102957537 /gtk2_ardour/region_gain_line.cc | |
parent | f9de5f6436486bd7fea3d7dfacc43c04af7dc85f (diff) |
Don't leave internal edit mode when clicking on an automation region view (#4747).
git-svn-id: svn://localhost/ardour2/branches/3.0@11749 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_gain_line.cc')
-rw-r--r-- | gtk2_ardour/region_gain_line.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc index 40b2773b6d..bc360f25d6 100644 --- a/gtk2_ardour/region_gain_line.cc +++ b/gtk2_ardour/region_gain_line.cc @@ -44,6 +44,8 @@ AudioRegionGainLine::AudioRegionGainLine (const string & name, AudioRegionView& // If this isn't true something is horribly wrong, and we'll get catastrophic gain values assert(l->parameter().type() == EnvelopeAutomation); + _time_converter->set_origin_b (r.region()->position() - r.region()->start()); + group->raise_to_top (); group->property_y() = 2; set_uses_gain_mapping (true); |