From 96b3f8ec928960fdaca9d1e868942e2595f0331f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 1 Mar 2017 17:17:27 +0100 Subject: [PATCH] Don't automatically open generic UIs for plugins w/o controls --- gtk2_ardour/processor_box.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 2564d070a8..52831ee6ac 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -2477,7 +2477,7 @@ ProcessorBox::use_plugins (const SelectedPlugins& plugins) } else if (_session->engine().connected () && processor_can_be_edited (processor)) { if ((*p)->has_editor ()) { edit_processor (processor); - } else { + } else if (boost::dynamic_pointer_cast(processor)->plugin()->parameter_count() > 0) { generic_edit_processor (processor); } }