choose by name: mouse click fix
authorKirill Kalishev <kirill.kalishev@jetbrains.com>
Tue, 31 Aug 2010 12:43:59 +0000 (16:43 +0400)
committerKirill Kalishev <kirill.kalishev@jetbrains.com>
Tue, 31 Aug 2010 12:43:59 +0000 (16:43 +0400)
platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java

index a965e5e9d9a307a60377adf771c2548c1d71ec7d..c97fb23dbb33543ff2eb48cb1b27f5b86e88fa0f 100644 (file)
@@ -596,7 +596,7 @@ public abstract class ChooseByNameBase {
         close(false);
         return Boolean.TRUE;
       }
-    }).setFocusable(true).setRequestFocus(true).setForceHeavyweight(true).setModalContext(false);
+    }).setFocusable(true).setRequestFocus(true).setForceHeavyweight(true).setModalContext(false).setCancelOnClickOutside(false);
 
     Point point = new Point(x, y);
     SwingUtilities.convertPointToScreen(point, layeredPane);