Keyboard shortcut for an action populates the edit field

Hi,

I have the following problem: I use a keyboard shortcuts to invoke actions. These actions instantiate some dialogs with a text components in them (it can be a custom dialog, it can be astandard one, line Messages.showInputDialog()). The problem is that on the OS X the key pressed populates the text field in such a component, resulting in weird characters appearing there (see screenshot).

If I invoke the action by other means (menu, button), no such thing happens.

Any ideas?

The example code is here: https://studio.atlassian.com/source/browse/~raw,r=27689/PL/trunk/atlassian-intellij-connector/src/main/java/com/atlassian/theplugin/idea/action/issues/QuickSearchAction.java



Attachment(s):
shortcut fail.png

Please sign in to leave a comment.