mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
[Summary] Solved an issue when ordinal on newly added track is higher then expected
This commit is contained in:
parent
a522463603
commit
f2c8d98cd3
1 changed files with 5 additions and 0 deletions
|
|
@ -5763,6 +5763,11 @@ Session::next_control_id () const
|
|||
if (_monitor_out) {
|
||||
subtract++;
|
||||
}
|
||||
|
||||
// the same about masterbus in Waves Tracks
|
||||
if (Profile->get_trx() && _master_out) {
|
||||
subtract++;
|
||||
}
|
||||
|
||||
return nroutes() - subtract;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue