Refine condition for auto opening instrument plugin UI

This commit is contained in:
Robin Gareus
2025-11-13 02:03:13 +01:00
parent 5960ad2e0f
commit 7bb7f21ae0

View File

@@ -4787,7 +4787,8 @@ Editor::maybe_show_instrument_plugin (std::shared_ptr<MidiTrack> mt)
if (!pi) {
return;
}
if (pi->what_can_be_automated ().size () == 0) {
if (pi->what_can_be_automated ().size () == 0 && !pi->plugin ()->has_editor ()) {
return;
}