Close navigation popups even if the text field is empty

IDEA-175973 Enter file name search popup is not closing itself after losing focus when no value available in textbox
This commit is contained in:
Denis Fokin
2018-03-07 14:48:20 +03:00
parent f46b6cf81a
commit f911dcb23e
@@ -723,7 +723,7 @@ public abstract class ChooseByNameBase {
protected void doClose(final boolean ok) {
if (checkDisposed()) return;
if (closeForbidden(ok) || getChosenElements().isEmpty()) return;
if (closeForbidden(ok)) return;
cancelListUpdater();
close(ok);