diff options
author | Carl Hetherington <carl@carlh.net> | 2011-10-22 16:19:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-10-22 16:19:27 +0000 |
commit | 195c735181d94fcb496050d3339538cb3306a812 (patch) | |
tree | c3a372a5a1a9eda6fe49e9c5e82da93e8ee23932 /gtk2_ardour/panner_ui.cc | |
parent | 47d0b8883036fa4f4a448c998b8d5e01fa283e16 (diff) |
Implement reset() in panners, and use it from the GUI (fixes #4196).
git-svn-id: svn://localhost/ardour2/branches/3.0@10282 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/panner_ui.cc')
-rw-r--r-- | gtk2_ardour/panner_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc index 71a9821242..05c2843630 100644 --- a/gtk2_ardour/panner_ui.cc +++ b/gtk2_ardour/panner_ui.cc @@ -283,7 +283,7 @@ PannerUI::setup_pan () boost::shared_ptr<Pannable> pannable = _panner->pannable(); boost::shared_ptr<AutomationControl> ac = pannable->pan_azimuth_control; - mp = new MonoPanner (ac); + mp = new MonoPanner (_panner); mp->StartGesture.connect (sigc::bind (sigc::mem_fun (*this, &PannerUI::start_touch), boost::weak_ptr<AutomationControl> (ac))); |