@Override
  public void update(@NotNull AnActionEvent e) {
    super.update(e);
    VcsLogGraphTable table = e.getData(VcsLogInternalDataKeys.VCS_LOG_GRAPH_TABLE);
    if (table == null || !table.getColorManager().hasMultiplePaths()) e.getPresentation().setEnabledAndVisible(false);
  }
@Override
  public void update(@NotNull AnActionEvent e)