mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
fixed a key shortcut problem with native menus
This commit is contained in:
parent
8439780b0b
commit
9e85c67fa2
1 changed files with 2 additions and 0 deletions
|
|
@ -2698,6 +2698,8 @@ private:
|
|||
keyCode = (tchar) ((T('0') - KeyPress::numberPad0) + kp.getKeyCode());
|
||||
}
|
||||
|
||||
SetMenuItemCommandKey (m, index, true, 255);
|
||||
|
||||
if (CharacterFunctions::isLetterOrDigit (keyCode)
|
||||
|| CharacterFunctions::indexOfChar (T(",.;/\\'[]=-+_<>?{}\":"), keyCode, false) >= 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue