From 53821c02192d806852e2dbdf321f1f9943a19ae3 Mon Sep 17 00:00:00 2001 From: Denis Fokin Date: Mon, 26 Feb 2018 16:43:55 +0300 Subject: [PATCH] IDEA-175973 Enter file name search popup is not closing itself after losing focus when no value available in textbox. Set cancel on click outside --- .../src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java index 1161a865d63b..876e4e7ad805 100644 --- a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java +++ b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameBase.java @@ -844,7 +844,7 @@ public abstract class ChooseByNameBase { myTextPopup = null; close(false); return Boolean.TRUE; - }).setFocusable(true).setRequestFocus(true).setModalContext(false).setCancelOnClickOutside(false); + }).setFocusable(true).setRequestFocus(true).setModalContext(false); Point point = new Point(x, y); SwingUtilities.convertPointToScreen(point, layeredPane);