mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 17:03:12 +07:00
EA 1199151
This commit is contained in:
+2
-1
@@ -221,6 +221,7 @@ public class LaterInvocator {
|
||||
|
||||
if (project == null) {
|
||||
enterModal(dialog);
|
||||
return;
|
||||
}
|
||||
|
||||
List<Dialog> modalEntitiesList = projectToModalEntities.getOrDefault(project, ContainerUtil.createLockFreeCopyOnWriteList());
|
||||
@@ -250,7 +251,7 @@ public class LaterInvocator {
|
||||
for (int i = 1; i < ourModalityStack.size(); i++) {
|
||||
((ModalityStateEx)ourModalityStack.get(i)).removeModality(dialog);
|
||||
}
|
||||
} else {
|
||||
} else if (project != null) {
|
||||
List<Dialog> dialogs = projectToModalEntities.get(project);
|
||||
int perProjectIndex = dialogs.indexOf(dialog);
|
||||
LOG.assertTrue(perProjectIndex >= 0);
|
||||
|
||||
Reference in New Issue
Block a user