diff --git a/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/RuntimeChooserPaths.kt b/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/RuntimeChooserPaths.kt index 92361e87976e..3ad83a400289 100644 --- a/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/RuntimeChooserPaths.kt +++ b/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/RuntimeChooserPaths.kt @@ -65,7 +65,7 @@ class RuntimeChooserPaths { private fun runWithProgress(action: (indicator: ProgressIndicator, jdkFile: Path) -> /*runtime name*/ @NlsSafe String?) { val title = LangBundle.message("progress.title.choose.ide.runtime.set.jdk") - object : Task.ConditionalModal(null, title, true, DEAF) { + object : Task.Backgroundable(null, title, true, DEAF) { override fun run(indicator: ProgressIndicator) { var jdkFileShadow: Path? = null try {