mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-109507 Crash in start-up initial configuration screen
This commit is contained in:
@@ -1518,8 +1518,12 @@ public abstract class DialogWrapper {
|
||||
menuSelectionManager.clearSelectedPath();
|
||||
}
|
||||
else {
|
||||
if (ApplicationManager.getApplication() == null) {
|
||||
doCancelAction(e);
|
||||
return;
|
||||
}
|
||||
final StackingPopupDispatcher popupDispatcher = StackingPopupDispatcher.getInstance();
|
||||
if (ApplicationManager.getApplication() == null || popupDispatcher != null && !popupDispatcher.isPopupFocused()) {
|
||||
if (popupDispatcher != null && !popupDispatcher.isPopupFocused()) {
|
||||
doCancelAction(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user