Skip to content

Commit f5a6b21

Browse files
Server.EngineProcessModel.generateTestReport is not bound to a protoc… (#1343)
Server.EngineProcessModel.generateTestReport is not bound to a protocol #1183
1 parent 72da319 commit f5a6b21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/util/IntelliJApiHelper.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package org.utbot.intellij.plugin.util
22

33
import com.intellij.ide.plugins.PluginManagerCore
4+
import com.intellij.openapi.application.ApplicationManager
5+
import com.intellij.openapi.application.ModalityState
46
import com.intellij.openapi.application.runReadAction
57
import com.intellij.openapi.application.runWriteAction
68
import 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

0 commit comments

Comments
 (0)