mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] toolbar action should be always visible so that other actions would not jump
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user