From 51f2a5fc4ee73752cb635db913769f9d47941933 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Oct 2008 13:38:53 +0000 Subject: part II of probable fix for track sync-ordering git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3851 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libs/ardour/session.cc') diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index af0f31b1a4..7832558ca3 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2153,6 +2153,8 @@ Session::remove_route (shared_ptr route) route->drop_references (); + sync_order_keys (this); + /* save the new state of the world */ if (save_state (_current_snapshot_name)) { @@ -4197,7 +4199,7 @@ Session::compute_initial_length () } void -Session::sync_order_keys () +Session::sync_order_keys (void* src) { if (!Config->get_sync_all_route_ordering()) { /* leave order keys as they are */ @@ -4210,5 +4212,5 @@ Session::sync_order_keys () (*i)->sync_order_keys (); } - Route::SyncOrderKeys (); // EMIT SIGNAL + Route::SyncOrderKeys (src); // EMIT SIGNAL } -- cgit v1.2.3