[Summary] Solved an issue when ordinal on newly added track is higher then expected

This commit is contained in:
GZharun 2014-09-29 12:59:16 +03:00
parent a522463603
commit f2c8d98cd3

View file

@ -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;
}