From d80482dddf822917212cb8866254082b4e2f0b0b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 15 Sep 2012 12:18:41 +0000 Subject: 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 --- gtk2_ardour/audio_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour') 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 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()); } -- cgit v1.2.3