IDEA-137685 vcs: use common Annotate shortcut for "annotate revision" action in file history

This commit is contained in:
Aleksey Pivovarov
2015-03-16 19:50:28 +03:00
parent 22a6d1aa67
commit fade0c6a30
@@ -1078,6 +1078,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton {
private class MyAnnotateAction extends AnnotateRevisionActionBase implements DumbAware {
public MyAnnotateAction() {
super(VcsBundle.message("annotate.action.name"), VcsBundle.message("annotate.action.description"), AllIcons.Actions.Annotate);
setShortcutSet(ActionManager.getInstance().getAction("Annotate").getShortcutSet());
}
@Nullable