From a336e87df81d65eed576b6c0c7cd697c881fa573 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 14 Mar 2022 14:10:29 -0600 Subject: [PATCH] when loading a session, catch up on tb_with_filled_slots correctly --- libs/ardour/session.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 45d0e775d8..7f84714b9f 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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)) {