mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 07:28:17 +01:00
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:
parent
8a2564d38c
commit
7a69f3157f
1 changed files with 6 additions and 0 deletions
|
|
@ -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)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue