mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
port group display should not crash if there's no auditioner
This commit is contained in:
parent
c785049050
commit
5783c75f67
1 changed files with 3 additions and 1 deletions
|
|
@ -462,7 +462,9 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp
|
||||||
if (type == DataType::AUDIO || type == DataType::NIL) {
|
if (type == DataType::AUDIO || type == DataType::NIL) {
|
||||||
if (!inputs) {
|
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()) {
|
if (session->click_io()) {
|
||||||
program->add_bundle (session->click_io()->bundle());
|
program->add_bundle (session->click_io()->bundle());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue