From 7eb53828a95e746e51d5d80044cec46756d3b870 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 27 Jan 2022 23:04:30 +0100 Subject: [PATCH] Do not warn about TB sidechain connection when preference is unset --- libs/ardour/triggerbox.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 7b9a63f3ae..70db3041c0 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2502,7 +2502,9 @@ TriggerBox::add_midi_sidechain () boost::shared_ptr p = _sidechain->input()->nth (0); if (p) { - p->connect (Config->get_default_trigger_input_port()); + if (!Config->get_default_trigger_input_port().empty ()) { + p->connect (Config->get_default_trigger_input_port()); + } } else { error << _("Could not create port for trigger side-chain") << endmsg; }