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 11package org.utbot.intellij.plugin.util
22
33import com.intellij.ide.plugins.PluginManagerCore
4+ import com.intellij.openapi.application.ApplicationManager
5+ import com.intellij.openapi.application.ModalityState
46import com.intellij.openapi.application.runReadAction
57import com.intellij.openapi.application.runWriteAction
68import com.intellij.openapi.extensions.PluginId
@@ -38,7 +40,7 @@ object IntelliJApiHelper {
3840 Target .THREAD_POOL -> AppExecutorUtil .getAppExecutorService().submit { wrapper.run () }
3941 Target .READ_ACTION -> runReadAction { wrapper.run () }
4042 Target .WRITE_ACTION -> runWriteAction { wrapper.run () }
41- Target .EDT_LATER -> invokeLater { wrapper. run () }
43+ Target .EDT_LATER -> ApplicationManager .getApplication(). invokeLater( wrapper, ModalityState . NON_MODAL )
4244 }
4345 }
4446
You can’t perform that action at this time.
0 commit comments