mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioPluginHost: Only add editor menu item for plugins with editors
This commit is contained in:
parent
31c7f42e55
commit
12fd1479a8
1 changed files with 3 additions and 1 deletions
|
|
@ -405,7 +405,9 @@ struct GraphEditorPanel::PluginComponent : public Component,
|
|||
menu->addItem (3, "Toggle Bypass");
|
||||
|
||||
menu->addSeparator();
|
||||
menu->addItem (10, "Show plugin GUI");
|
||||
if (getProcessor()->hasEditor())
|
||||
menu->addItem (10, "Show plugin GUI");
|
||||
|
||||
menu->addItem (11, "Show all programs");
|
||||
menu->addItem (12, "Show all parameters");
|
||||
menu->addItem (13, "Show debug log");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue