mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-1151544 - T: CallHierarchyBrowserBase$ChangeViewTypeActionBase.update
GitOrigin-RevId: 3e4e9b4dd02cdaf3a0457cbbba292294b96fd3b9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1bccc54b4a
commit
dc6c748ff6
@@ -632,7 +632,7 @@ public abstract class HierarchyBrowserBaseEx extends HierarchyBrowserBase implem
|
||||
|
||||
@Override
|
||||
public @NotNull ActionUpdateThread getActionUpdateThread() {
|
||||
return ActionUpdateThread.EDT;
|
||||
return ActionUpdateThread.BGT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -644,7 +644,10 @@ public abstract class HierarchyBrowserBaseEx extends HierarchyBrowserBase implem
|
||||
|
||||
@Override
|
||||
public void update(@NotNull AnActionEvent event) {
|
||||
super.update(event);
|
||||
event.getUpdateSession().compute(this, "AlphaSortAction.super.update", ActionUpdateThread.EDT, () -> {
|
||||
super.update(event);
|
||||
return null;
|
||||
});
|
||||
Presentation presentation = event.getPresentation();
|
||||
presentation.setEnabled(isValidBase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user