don't resort routelists during session destruction (mixer)

git-svn-id: svn://localhost/ardour2/branches/3.0@6173 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2009-11-25 14:35:52 +00:00
parent 5f5ecdbfc3
commit f41f078323

View File

@@ -380,7 +380,7 @@ Mixer_UI::sync_order_keys (string const & src)
TreeModel::Children rows = track_model->children();
TreeModel::Children::iterator ri;
if (src == N_("signal") || !session || (session->state_of_the_state() & Session::Loading) || rows.empty()) {
if (src == N_("signal") || !session || (session->state_of_the_state() & (Session::Loading|Session::Deletion)) || rows.empty()) {
return;
}