From 8f7f204ae4b97dfbbc054478613776ac53d94424 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 2 Apr 2024 18:01:11 -0600 Subject: [PATCH] port group display should not crash if there's no auditioner --- gtk2_ardour/port_group.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index ece9fcf3fd..417e1fe0c9 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -462,7 +462,9 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp if (type == DataType::AUDIO || type == DataType::NIL) { if (!inputs) { - program->add_bundle (session->the_auditioner()->output()->bundle()); + if (session->the_auditioner()) { + program->add_bundle (session->the_auditioner()->output()->bundle()); + } if (session->click_io()) { program->add_bundle (session->click_io()->bundle()); }