EA-78944 - TDDE: TraceableDisposable.throwDisposalError

This commit is contained in:
Sergey Malenkov
2016-03-30 18:48:56 +03:00
parent 5863bc5cdb
commit fbb17618e7
@@ -700,7 +700,11 @@ public class AbstractPopup implements JBPopup {
@Override
public boolean isVisible() {
return myPopup != null;
if (myPopup == null) return false;
Window window = myPopup.getWindow();
if (window != null && window.isShowing()) return true;
if (LOG.isDebugEnabled()) LOG.debug("window hidden, popup's state: " + myState);
return false;
}
@Override