avoid redisplaying route list during session deletion

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11627 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-03-09 16:57:36 +00:00
parent 170514df72
commit ed2a5723fe
1 changed files with 4 additions and 0 deletions

View File

@ -305,6 +305,10 @@ Editor::redisplay_route_list ()
return;
}
if (session && session->deletion_in_progress()) {
return;
}
for (n = 0, order = 0, position = 0, i = rows.begin(); i != rows.end(); ++i) {
TimeAxisView *tv = (*i)[route_display_columns.tv];
boost::shared_ptr<Route> route = (*i)[route_display_columns.route];