From 87099a23cd155426eebfdbcfe886aef69564fb99 Mon Sep 17 00:00:00 2001 From: Sergey Savenko Date: Tue, 19 Aug 2014 16:58:05 +0400 Subject: [PATCH] DBE: don't start editing on 'Windows' key press --- platform/platform-api/src/com/intellij/ui/table/JBTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/ui/table/JBTable.java b/platform/platform-api/src/com/intellij/ui/table/JBTable.java index bda230eb767e..cd430c07a4e4 100644 --- a/platform/platform-api/src/com/intellij/ui/table/JBTable.java +++ b/platform/platform-api/src/com/intellij/ui/table/JBTable.java @@ -424,7 +424,7 @@ public class JBTable extends JTable implements ComponentWithEmptyText, Component if (e instanceof KeyEvent) { // do not start editing in autoStartsEdit mode on Ctrl-Z and other non-typed events - if (!UIUtil.isReallyTypedEvent((KeyEvent)e)) return false; + if (!UIUtil.isReallyTypedEvent((KeyEvent)e) || ((KeyEvent)e).getKeyChar() == KeyEvent.CHAR_UNDEFINED) return false; SpeedSearchSupply supply = SpeedSearchSupply.getSupply(this); if (supply != null && supply.isPopupActive()) {