From 7a69f3157f4593fdb069e454101cc1769ebe1e9a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 8 Oct 2009 20:43:12 +0000 Subject: when setting a redirect box to display a given route's redirects, always unset the no_redirect_redisplay flag that may have been set when the last route displayed was deleted. this should fix reports of plugins etc. not being displayed in the editor mixer strip and other cases where the mixer strip is re-used to display > 1 route git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5761 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/redirect_box.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/redirect_box.cc b/gtk2_ardour/redirect_box.cc index 03b3fd7355..4bacd85e17 100644 --- a/gtk2_ardour/redirect_box.cc +++ b/gtk2_ardour/redirect_box.cc @@ -152,8 +152,14 @@ RedirectBox::~RedirectBox () void RedirectBox::set_route (boost::shared_ptr r) { + connections.clear (); + /* since we're dealing with a new route, any existing limit on redisplay + must be irrelevant. + */ + + no_redirect_redisplay = false; _route = r; connections.push_back (_route->redirects_changed.connect (mem_fun(*this, &RedirectBox::redisplay_redirects))); -- cgit v1.2.3