From bedab693385d0b5e98e0c8b370ac42a43323a262 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 14 Jul 2023 16:54:13 +0200 Subject: [PATCH] Pin Dialog: hide send polarity invert --- gtk2_ardour/plugin_pin_dialog.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/plugin_pin_dialog.cc b/gtk2_ardour/plugin_pin_dialog.cc index 2beae7d42a..9841ef2f87 100644 --- a/gtk2_ardour/plugin_pin_dialog.cc +++ b/gtk2_ardour/plugin_pin_dialog.cc @@ -655,6 +655,12 @@ PluginPinWidget::add_port_to_table (std::shared_ptr p, uint32_t r, bool ca */ set p = proc->what_can_be_automated (); for (set::iterator i = p.begin (); i != p.end (); ++i) { + /* Do not display send phase invert toggle here. + * (strictly we should only show BusSendLevel). + */ + if (i->type () == PhaseAutomation) { + continue; + } Control* c = new Control (proc->automation_control (*i), _("Send")); _controls.push_back (c); ++r; ++rv;