L: always reassign track numbers when adding tracks
While presentation info order information is restored from XML state, track numbers are not, so make sure we setup track numbering during loading (based on PI order info)
This commit is contained in:
parent
2065646c48
commit
2137672fde
@ -3681,11 +3681,12 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
|
||||
r->enable_direct_outs ();
|
||||
}
|
||||
}
|
||||
/* do not take `_auto_connect_queue_lock' while holding the process lock */
|
||||
lm.release ();
|
||||
reassign_track_numbers ();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef LIVETRAX
|
||||
reassign_track_numbers ();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
@ -4664,7 +4665,7 @@ Session::reassign_track_numbers ()
|
||||
}
|
||||
}
|
||||
|
||||
if (Profile->get_livetrax()) {
|
||||
if (!loading() && Profile->get_livetrax()) {
|
||||
livetrax_queue_auto_connect ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user