From 3e2bd0b3b856ed8eb92f17f611a6b51912ecf476 Mon Sep 17 00:00:00 2001 From: Eugene Zhuravlev Date: Mon, 30 Nov 2009 16:47:03 +0300 Subject: [PATCH] [r=kirillk] ModalityState stuff not needed here, use SwingUtilities instead (IDEADEV-41716) --- .../src/com/intellij/ide/startup/impl/StartupManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java b/platform/platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java index b8f4c165e0..aa45db5756 100644 --- a/platform/platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/ide/startup/impl/StartupManagerImpl.java @@ -30,6 +30,7 @@ import com.intellij.util.io.storage.HeavyProcessLatch; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.TestOnly; +import javax.swing.*; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; @@ -207,7 +208,7 @@ public class StartupManagerImpl extends StartupManagerEx { runnable.run(); } else { - application.invokeLater(new Runnable() { + SwingUtilities.invokeLater(new Runnable() { public void run() { if (!myProject.isDisposed()) { runnable.run(); -- 2.11.4.GIT