diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-08 20:43:12 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-08 20:43:12 +0000 |
commit | 7a69f3157f4593fdb069e454101cc1769ebe1e9a (patch) | |
tree | cfec618f353cb09b5fef37fef0f684465fe1b765 | |
parent | 8a2564d38c4759d7f7cbe25f6bd53c0ae6650ab8 (diff) |
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
-rw-r--r-- | gtk2_ardour/redirect_box.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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<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))); |