diff options
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 } |