Plugin reacts on Enter, Button focused (Mac VST Cubase)

Hi,

when a button is focused, it will trigger a click in Cubase 4 Mac VST when pressing “Enter” key . But “enter” is the default start/stop shortcut in cubase.

How to avoid that a button is getting the focus on a plugin gui?

JucePlugin_EditorRequiresKeyboardFocus 0 and 1 has the same effect.

You can just call setWantsKeyboardFocus (false) for the button…

thanks!