From 5f5ecdbfc31eb3f38ce1f0d218fff398fc69e4dc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Nov 2009 14:34:42 +0000 Subject: [PATCH] don't resort routelists during session destruction git-svn-id: svn://localhost/ardour2/branches/3.0@6172 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_routes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 914e8fa275..ed3f1790a8 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -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; }