Skip to content

Commit 123f8b9

Browse files
authored
Merge branch 'main' into andrey-t/generic-execution
2 parents 8ff2ce6 + 483a01e commit 123f8b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import com.intellij.openapi.ui.OptionAction
3131
import com.intellij.openapi.ui.ValidationInfo
3232
import com.intellij.openapi.ui.popup.IconButton
3333
import com.intellij.openapi.util.Computable
34-
import com.intellij.openapi.util.text.TextWithMnemonic
3534
import com.intellij.openapi.vfs.StandardFileSystems
3635
import com.intellij.openapi.vfs.VfsUtil
3736
import com.intellij.openapi.vfs.VfsUtilCore.urlToPath
@@ -147,7 +146,7 @@ private const val WILL_BE_CONFIGURED_LABEL = " (will be configured)"
147146
private const val MINIMUM_TIMEOUT_VALUE_IN_SECONDS = 1
148147

149148
private const val ACTION_GENERATE = "Generate Tests"
150-
private const val ACTION_GENERATE_AND_RUN = "Generate && Run" //Note that ampersand has to be escaped (doubled)
149+
private const val ACTION_GENERATE_AND_RUN = "Generate and Run"
151150

152151
class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(model.project) {
153152
companion object {
@@ -469,7 +468,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
469468

470469
private fun updateButtonText(e: ActionEvent?) {
471470
with(e?.source as JButton) {
472-
text = TextWithMnemonic.parse(testsModel.getActionText()).dropMnemonic().text
471+
text = testsModel.getActionText()
473472
testsModel.project.service<Settings>().runGeneratedTestsWithCoverage =
474473
testsModel.runGeneratedTestsWithCoverage
475474
repaint()

0 commit comments

Comments
 (0)