don't resort routelists during session destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@6172 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b0e41486f3
commit
5f5ecdbfc3
@ -489,7 +489,7 @@ EditorRoutes::sync_order_keys (string const & src)
|
||||
TreeModel::Children rows = _model->children();
|
||||
TreeModel::Children::iterator ri;
|
||||
|
||||
if (src == N_ ("editor") || !_session || (_session->state_of_the_state() & Session::Loading) || rows.empty()) {
|
||||
if (src == N_ ("editor") || !_session || (_session->state_of_the_state() & (Session::Loading|Session::Deletion)) || rows.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user