mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
EA-78944 - TDDE: TraceableDisposable.throwDisposalError
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user