when loading a session, catch up on tb_with_filled_slots correctly

This commit is contained in:
Paul Davis 2022-03-14 14:10:29 -06:00
parent 2ea75e88a2
commit a336e87df8
1 changed files with 3 additions and 0 deletions

View File

@ -3245,6 +3245,9 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
if (r->triggerbox()) {
r->triggerbox()->EmptyStatusChanged.connect_same_thread (*this, boost::bind (&Session::handle_slots_empty_status, this, wpr));
if (!r->triggerbox()->empty()) {
tb_with_filled_slots++;
}
}
if (!r->presentation_info().special (false)) {