Don't show generic MIDI patch-selector in bottom pane

It can take a few seconds to build 16 dropdown menus with
a few hundred entries, slowing down selection.
This commit is contained in:
Robin Gareus 2025-08-01 03:03:28 +02:00
parent b34ca733d2
commit c8540a5ad6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -200,7 +200,7 @@ GenericPluginUI::GenericPluginUI (std::shared_ptr<PlugInsertBase> pib, bool scro
prefheight = -1; prefheight = -1;
build (); build ();
if (_pib->plugin()->has_midnam() && _pib->plugin()->knows_bank_patch()) { if (!ctrls_only && _pib->plugin()->has_midnam() && _pib->plugin()->knows_bank_patch()) {
build_midi_table (); build_midi_table ();
} }