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
This commit is contained in:
Paul Davis 2009-10-08 20:43:12 +00:00
parent 8a2564d38c
commit 7a69f3157f

View file

@ -152,8 +152,14 @@ RedirectBox::~RedirectBox ()
void
RedirectBox::set_route (boost::shared_ptr<Route> 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)));