File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ import javax.swing.JList
9393import javax.swing.JPanel
9494import javax.swing.JSpinner
9595import javax.swing.text.DefaultFormatter
96- import kotlin.streams.toList
9796import org.jetbrains.concurrency.Promise
9897import org.jetbrains.concurrency.thenRun
9998import org.jetbrains.kotlin.asJava.classes.KtUltraLightClass
@@ -502,7 +501,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
502501
503502 model.mockFramework = MOCKITO
504503 model.staticsMocking = if (staticsMocking.isSelected) MockitoStaticMocking else NoStaticMocking
505- model.codegenLanguage = codegenLanguages.item
504+ model.codegenLanguage = model.project.service< Settings >().codegenLanguage
506505 try {
507506 timeoutSpinner.commitEdit()
508507 } catch (ignored: ParseException ) {
You can’t perform that action at this time.
0 commit comments