File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import com.intellij.openapi.ui.OptionAction
31
31
import com.intellij.openapi.ui.ValidationInfo
32
32
import com.intellij.openapi.ui.popup.IconButton
33
33
import com.intellij.openapi.util.Computable
34
- import com.intellij.openapi.util.text.TextWithMnemonic
35
34
import com.intellij.openapi.vfs.StandardFileSystems
36
35
import com.intellij.openapi.vfs.VfsUtil
37
36
import com.intellij.openapi.vfs.VfsUtilCore.urlToPath
@@ -147,7 +146,7 @@ private const val WILL_BE_CONFIGURED_LABEL = " (will be configured)"
147
146
private const val MINIMUM_TIMEOUT_VALUE_IN_SECONDS = 1
148
147
149
148
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"
151
150
152
151
class GenerateTestsDialogWindow (val model : GenerateTestsModel ) : DialogWrapper(model.project) {
153
152
companion object {
@@ -469,7 +468,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
469
468
470
469
private fun updateButtonText (e : ActionEvent ? ) {
471
470
with (e?.source as JButton ) {
472
- text = TextWithMnemonic .parse( testsModel.getActionText()).dropMnemonic().text
471
+ text = testsModel.getActionText()
473
472
testsModel.project.service<Settings >().runGeneratedTestsWithCoverage =
474
473
testsModel.runGeneratedTestsWithCoverage
475
474
repaint()
You can’t perform that action at this time.
0 commit comments