void (@NotNull AnActionEvent e) { VcsLogUsageTriggerCollector.triggerUsage(e, this); MainVcsLogUi logUi = (MainVcsLogUi)e.getRequiredData(VcsLogDataKeys.VCS_LOG_UI); Project project = e.getProject(); if (IdeFocusManager.getInstance(project).getFocusedDescendantFor(logUi.getToolbar()) != null) { IdeFocusManager.getInstance(project).requestFocus(logUi.getTable(), true); } else { IdeFocusManager.getInstance(project).requestFocus(logUi.getFilterUi().getTextFilterComponent().getFocusedComponent(), true); } }