Skip to content

Commit

Permalink
Fix deprecated ActionUpdateThread.OLD_EDT
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlob42 committed Aug 26, 2024
1 parent cc79b2f commit 2c9a151
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package eu.theblob42.idea.whichkey

import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.PlatformDataKeys
Expand Down Expand Up @@ -32,6 +33,10 @@ class WhichKeyShortcutKeyAction: AnAction(), DumbAware {
vimShortcutKeyAction.update(actionEvent)
}

override fun getActionUpdateThread(): ActionUpdateThread {
return ActionUpdateThread.EDT
}

override fun actionPerformed(actionEvent: AnActionEvent) {
PopupConfig.hidePopup()

Expand Down

0 comments on commit 2c9a151

Please sign in to comment.