Skip to content

Commit

Permalink
Fix CodyActionPromoter
Browse files Browse the repository at this point in the history
  • Loading branch information
pkukielka committed Jul 31, 2024
1 parent bb4d043 commit a402e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ open class CodyIntegrationTextFixture : BasePlatformTestCase(), LensListener {

override fun setUp() {
super.setUp()
myProject = project
configureFixture()
checkInitialConditions()
myProject = project
LensesService.getInstance(project).addListener(this)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ class EditCommandPrompt(
shape = makeCornerShape(width, height)
updateDialogPosition()
isVisible = true

project.putUserData(EDIT_COMMAND_PROMPT_KEY, this)
}

fun isOkActionEnabled() = okButtonGroup.isEnabled && model != null
Expand Down

0 comments on commit a402e6d

Please sign in to comment.