mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-04-19 10:15:44 +02:00
Fix(VIM-3364): Exception with mapped Generate action
This commit is contained in:
parent
949f359b98
commit
ce6a296233
@ -20,6 +20,7 @@ import com.intellij.openapi.actionSystem.ex.ActionUtil
|
||||
import com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks
|
||||
import com.intellij.openapi.actionSystem.impl.ProxyShortcutSet
|
||||
import com.intellij.openapi.actionSystem.impl.SimpleDataContext
|
||||
import com.intellij.openapi.actionSystem.impl.Utils
|
||||
import com.intellij.openapi.application.ex.ApplicationManagerEx
|
||||
import com.intellij.openapi.command.CommandProcessor
|
||||
import com.intellij.openapi.command.UndoConfirmationPolicy
|
||||
@ -111,6 +112,7 @@ internal class IjActionExecutor : VimActionExecutor {
|
||||
ActionManager.getInstance(),
|
||||
0,
|
||||
)
|
||||
Utils.initUpdateSession(event)
|
||||
// beforeActionPerformedUpdate should be called to update the action. It fixes some rider-specific problems
|
||||
// because rider uses an async update method. See VIM-1819.
|
||||
// This method executes inside lastUpdateAndCheckDumb
|
||||
|
Loading…
Reference in New Issue
Block a user