[vcs-log] toolbar action should be always visible so that other actions would not jump

This commit is contained in:
Julia Beliaeva
2015-02-09 15:59:04 +03:00
parent b413758bf1
commit 6c2dac4032
@@ -60,7 +60,7 @@ class IntelliSortChooserAction extends DumbAwareAction {
public void update(AnActionEvent e) {
super.update(e);
VcsLogUi logUI = e.getData(VcsLogDataKeys.VCS_LOG_UI);
e.getPresentation().setEnabledAndVisible(logUI != null);
e.getPresentation().setEnabled(logUI != null);
if (logUI != null) {
String description = "IntelliSort: " + logUI.getBekType().getName();
e.getPresentation().setDescription(description);