mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use first visible frame if project is null
GitOrigin-RevId: af50ec59aa9cea4eee9c94764b5a2aa5642ecada
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4b542347a1
commit
5b2e6d65a3
+3
@@ -312,6 +312,9 @@ public final class NotificationsManagerImpl extends NotificationsManager {
|
||||
frame = frame.getOwner();
|
||||
}
|
||||
}
|
||||
if (frame == null && project == null) {
|
||||
frame = WindowManager.getInstance().findVisibleFrame();
|
||||
}
|
||||
return frame;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user