summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-19 09:31:08 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-19 09:31:08 +0000
commit186a9599b641c7618f76852ed7ad0fe6ee8fa702 (patch)
treed687b9f41efb69590d092968b1f45e21da71c5ab /gtk2_ardour
parentb8aabb310f8f8dd3888fa335ed19066249d9024c (diff)
Connect mixer strip to panner shell even if there is currently no panner. Should fix #4318.
git-svn-id: svn://localhost/ardour2/branches/3.0@10094 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/mixer_strip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index ad2891408b..e4d9b4058a 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -456,7 +456,7 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
_route->meter_change.connect (route_connections, invalidator (*this), bind (&MixerStrip::meter_changed, this), gui_context());
_route->route_group_changed.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::route_group_changed, this), gui_context());
- if (_route->panner()) {
+ if (_route->panner_shell()) {
_route->panner_shell()->Changed.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::connect_to_pan, this), gui_context());
}