File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ import java.awt.event.ActionEvent
82
82
import java.nio.file.Files
83
83
import java.nio.file.Path
84
84
import java.nio.file.Paths
85
+ import java.text.ParseException
85
86
import java.util.Objects
86
87
import java.util.concurrent.TimeUnit
87
88
import javax.swing.AbstractAction
@@ -507,6 +508,10 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
507
508
model.mockFramework = MOCKITO
508
509
model.staticsMocking = staticsMocking.item
509
510
model.codegenLanguage = codegenLanguages.item
511
+ try {
512
+ timeoutSpinner.commitEdit()
513
+ } catch (ignored: ParseException ) {
514
+ }
510
515
model.timeout = TimeUnit .SECONDS .toMillis(timeoutSpinner.number.toLong())
511
516
512
517
val settings = model.project.service<Settings >()
You can’t perform that action at this time.
0 commit comments