mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-157874 ERROR - #com.intellij.ide.plugins.PluginManager - Argument for @NotNull parameter 'action' of com/intellij/openapi/actionSystem/AnActionEvent.createFromAnAction must not be null
This commit is contained in:
+1
@@ -248,6 +248,7 @@ public class ModifierKeyDoubleClickHandler extends ApplicationComponent.Adapter
|
||||
myIsRunningAction = true;
|
||||
try {
|
||||
AnAction action = myActionManagerEx.getAction(myActionId);
|
||||
if (action == null) return false;
|
||||
DataContext context = DataManager.getInstance().getDataContext(IdeFocusManager.findInstance().getFocusOwner());
|
||||
AnActionEvent anActionEvent = AnActionEvent.createFromAnAction(action, event, ActionPlaces.MAIN_MENU, context);
|
||||
action.update(anActionEvent);
|
||||
|
||||
Reference in New Issue
Block a user