Skip to content

Commit a6e647d

Browse files
committed
Reverse PR #1545 changes
1 parent dfdfe5f commit a6e647d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class GenerateTestsAction : AnAction() {
1313

1414
override fun update(e: AnActionEvent) {
1515
val languageAssistant = LanguageAssistant.get(e)
16-
if (languageAssistant == null) {
16+
if (languageAssistant == null || !accessByProjectSettings(e)) {
1717
e.presentation.isEnabled = false
1818
} else {
1919
languageAssistant.update(e)

0 commit comments

Comments
 (0)