summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-09-15 12:18:41 +0000
committerCarl Hetherington <carl@carlh.net>2012-09-15 12:18:41 +0000
commitd80482dddf822917212cb8866254082b4e2f0b0b (patch)
tree19d2d6241655b0744cdba82583bc817f3a702e68 /gtk2_ardour/audio_time_axis.cc
parentdd7c0dcf30189f56d71fa2ffde8c0d60c6845ebe (diff)
Check for panner_shell rather than panner before
connecting to it. This means that we connect to mono routes (without panners) so that if they do get panners we find out about it. Should help with #5093. git-svn-id: svn://localhost/ardour2/branches/3.0@13190 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 45204971e6..bf980690aa 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -105,7 +105,7 @@ AudioTimeAxisView::set_route (boost::shared_ptr<Route> rt)
create_automation_child (GainAutomation, false);
}
- if (_route->panner()) {
+ if (_route->panner_shell()) {
_route->panner_shell()->Changed.connect (*this, invalidator (*this),
boost::bind (&AudioTimeAxisView::ensure_pan_views, this, false), gui_context());
}