mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
perform dumb-aware update in generate action (EA-38402)
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.intellij.openapi.actionSystem;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ex.ActionUtil;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -60,7 +62,7 @@ public class ActionGroupUtil {
|
||||
ActionManager.getInstance(),
|
||||
e.getModifiers());
|
||||
event.setInjectedContext(action.isInInjectedContext());
|
||||
action.update(event);
|
||||
ActionUtil.performDumbAwareUpdate(action, event, false);
|
||||
|
||||
return presentation.isEnabled() && presentation.isVisible();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user