port group display should not crash if there's no auditioner

This commit is contained in:
Paul Davis 2024-04-02 18:01:11 -06:00
parent 9052eb013e
commit 8f7f204ae4
1 changed files with 3 additions and 1 deletions

View File

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