mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix test line markers
This commit is contained in:
@@ -102,7 +102,7 @@ public abstract class AnActionButton extends AnAction implements ShortcutProvide
|
||||
myActionVisible = e.getPresentation().isVisible();
|
||||
}
|
||||
boolean enabled = isEnabled() && isContextComponentOk() && myActionEnabled;
|
||||
if (enabled) {
|
||||
if (enabled && myUpdaters != null) {
|
||||
for (AnActionButtonUpdater updater : myUpdaters) {
|
||||
if (!updater.isEnabled(e)) {
|
||||
enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user