summaryrefslogtreecommitdiff
path: root/gtk2_ardour/panner_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-22 16:19:27 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-22 16:19:27 +0000
commit195c735181d94fcb496050d3339538cb3306a812 (patch)
treec3a372a5a1a9eda6fe49e9c5e82da93e8ee23932 /gtk2_ardour/panner_ui.cc
parent47d0b8883036fa4f4a448c998b8d5e01fa283e16 (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.cc2
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)));