diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-07 11:06:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-07 11:06:29 +0000 |
commit | b96c0cba68835a4bda17d4e63494ddab97713322 (patch) | |
tree | e21422d78d7a6ba6ec6ca83435c88026633c70bf /libs/ardour/session.cc | |
parent | 9a9a7fb6596052c38b92545c33a80ee636040638 (diff) |
fixes needed for track/strip ordering issues
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3874 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 7832558ca3..4d3cd7b606 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2153,7 +2153,7 @@ Session::remove_route (shared_ptr<Route> route) route->drop_references (); - sync_order_keys (this); + sync_order_keys (N_("session")); /* save the new state of the world */ @@ -4199,7 +4199,7 @@ Session::compute_initial_length () } void -Session::sync_order_keys (void* src) +Session::sync_order_keys (const char* base) { if (!Config->get_sync_all_route_ordering()) { /* leave order keys as they are */ @@ -4209,8 +4209,8 @@ Session::sync_order_keys (void* src) boost::shared_ptr<RouteList> r = routes.reader (); for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { - (*i)->sync_order_keys (); + (*i)->sync_order_keys (base); } - Route::SyncOrderKeys (src); // EMIT SIGNAL + Route::SyncOrderKeys (base); // EMIT SIGNAL } |