mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix reordering of newly added tracks in livetrax scenario
This commit is contained in:
parent
41b9ee570d
commit
6546a035c6
1 changed files with 5 additions and 2 deletions
|
|
@ -3562,8 +3562,6 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
|
|||
{
|
||||
PresentationInfo::ChangeSuspender cs;
|
||||
ensure_route_presentation_info_gap (order, new_routes.size());
|
||||
ensure_stripable_sort_order ();
|
||||
reassign_track_numbers ();
|
||||
|
||||
for (RouteList::iterator x = new_routes.begin(); x != new_routes.end(); ++x, ++added) {
|
||||
|
||||
|
|
@ -3646,6 +3644,11 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
|
|||
|
||||
ARDOUR::GUIIdle ();
|
||||
}
|
||||
|
||||
ensure_stripable_sort_order ();
|
||||
if (Profile->get_livetrax()) {
|
||||
reassign_track_numbers ();
|
||||
}
|
||||
}
|
||||
|
||||
if (!loading()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue