13
0

Don't automatically open generic UIs for plugins w/o controls

This commit is contained in:
Robin Gareus 2017-03-01 17:17:27 +01:00
parent ab127d6e70
commit 96b3f8ec92

View File

@ -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<PluginInsert>(processor)->plugin()->parameter_count() > 0) {
generic_edit_processor (processor);
}
}