action in custom plugin are disabled after upgrade
Answered
Hi,
we have a custom plugin that adds actions to the test runner, after updating to version 2022.1 (build IU-221.5080.210)
the actions become disabled:
I tried to explicitly enable the action by:
by this code:
@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
final Presentation presentation = e.getPresentation();
final Project project = e.getProject();
if (project == null) {
presentation.setEnabledAndVisible(false);
return;
}
presentation.setEnabledAndVisible(true);
}
but still it is disabled.
I uploaded a screen shot, dont know how to attach it here, the upload id is:
2022_07_07_8DbZZWMnXTuRwNgt8GhZrH
can you please advise?
Thanks,
Eilon
Please sign in to leave a comment.
Please try current bugfix update
IIRC there was some issue with custom entries in this menu but it must have been fixed some weeks ago.
Working, thank you