File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/util Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
package org.utbot.intellij.plugin.util
2
2
3
3
import com.intellij.ide.plugins.PluginManagerCore
4
+ import com.intellij.openapi.application.ApplicationManager
5
+ import com.intellij.openapi.application.ModalityState
4
6
import com.intellij.openapi.application.runReadAction
5
7
import com.intellij.openapi.application.runWriteAction
6
8
import com.intellij.openapi.extensions.PluginId
@@ -38,7 +40,7 @@ object IntelliJApiHelper {
38
40
Target .THREAD_POOL -> AppExecutorUtil .getAppExecutorService().submit { wrapper.run () }
39
41
Target .READ_ACTION -> runReadAction { wrapper.run () }
40
42
Target .WRITE_ACTION -> runWriteAction { wrapper.run () }
41
- Target .EDT_LATER -> invokeLater { wrapper. run () }
43
+ Target .EDT_LATER -> ApplicationManager .getApplication(). invokeLater( wrapper, ModalityState . NON_MODAL )
42
44
}
43
45
}
44
46
You can’t perform that action at this time.
0 commit comments