mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-215656 SE: cannot find parent window on AddClass invocation on UML diagram popup
GitOrigin-RevId: 115dcc7677e75b4f1fec87e7380d64ecfe1d0046
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c490c67db1
commit
8ddc3979ff
@@ -859,6 +859,9 @@ public abstract class ChooseByNameBase implements ChooseByNameViewModel {
|
||||
else if (window instanceof JDialog) {
|
||||
layeredPane = ((JDialog)window).getLayeredPane();
|
||||
}
|
||||
else if (window instanceof JWindow) {
|
||||
layeredPane = ((JWindow)window).getLayeredPane();
|
||||
}
|
||||
else {
|
||||
throw new IllegalStateException("cannot find parent window: project=" + myProject +
|
||||
(myProject != null ? "; open=" + myProject.isOpen() : "") +
|
||||
|
||||
Reference in New Issue
Block a user