Skip to content

Commit

Permalink
Plugin setting to choose Kotlin generation doesn't work #1075 (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassiliy-Kudryashov authored Oct 7, 2022
1 parent f227563 commit cb8474d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ import javax.swing.JList
import javax.swing.JPanel
import javax.swing.JSpinner
import javax.swing.text.DefaultFormatter
import kotlin.streams.toList
import org.jetbrains.concurrency.Promise
import org.jetbrains.concurrency.thenRun
import org.jetbrains.kotlin.asJava.classes.KtUltraLightClass
Expand Down Expand Up @@ -502,7 +501,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m

model.mockFramework = MOCKITO
model.staticsMocking = if (staticsMocking.isSelected) MockitoStaticMocking else NoStaticMocking
model.codegenLanguage = codegenLanguages.item
model.codegenLanguage = model.project.service<Settings>().codegenLanguage
try {
timeoutSpinner.commitEdit()
} catch (ignored: ParseException) {
Expand Down

0 comments on commit cb8474d

Please sign in to comment.