IDEA-168238 lookup popup stays visible on focus change (via alt-tab), if auto popup documentation is turned on

This commit is contained in:
Sergey Malenkov
2017-04-06 17:54:46 +03:00
parent 3a6f71c2b3
commit 54192de4db
@@ -203,7 +203,12 @@ public class StackingPopupDispatcherImpl extends StackingPopupDispatcher impleme
@Override
public boolean close() {
return closeActivePopup();
if (!closeActivePopup()) return false;
// try to close other popups in the stack
while (closeActivePopup()) {
// close all popups one by one
}
return true; // at least one popup was closed
}
@Override