diff --git a/platform/platform-impl/src/com/intellij/ui/plaf/beg/BegTableUI.java b/platform/platform-impl/src/com/intellij/ui/plaf/beg/BegTableUI.java index 5507aee2972d..f46ded741d0b 100644 --- a/platform/platform-impl/src/com/intellij/ui/plaf/beg/BegTableUI.java +++ b/platform/platform-impl/src/com/intellij/ui/plaf/beg/BegTableUI.java @@ -53,6 +53,8 @@ public class BegTableUI extends BasicTableUI { public void installUI(JComponent c) { super.installUI(c); c.getActionMap().put(START_EDITING_ACTION_KEY, new StartEditingAction()); + // fix missing escape shortcut + c.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("pressed ESCAPE"), "cancel"); } protected KeyListener createKeyListener() {