mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user