diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-03 13:38:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-03 13:38:53 +0000 |
commit | 51f2a5fc4ee73752cb635db913769f9d47941933 (patch) | |
tree | b4485eb90967006b0dfc6fe01da5778d56f901ce /libs/ardour/session.cc | |
parent | d5b13692582e014c02dff75bf85ae6765d762dc4 (diff) |
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
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 6 |
1 files changed, 4 insertions, 2 deletions
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) 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 } |