mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't add actions without icons to the file history toolbar
An example of such actions is SelectRevisionInGitLogAction, which doesn't have an icon yet.
This commit is contained in:
@@ -782,7 +782,9 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton {
|
||||
});
|
||||
if (additionalActions != null) {
|
||||
for (AnAction additionalAction : additionalActions) {
|
||||
result.add(additionalAction);
|
||||
if (popup || additionalAction.getTemplatePresentation().getIcon() != null) {
|
||||
result.add(additionalAction);
|
||||
}
|
||||
}
|
||||
}
|
||||
result.add(new RefreshFileHistoryAction());
|
||||
|
||||
Reference in New Issue
Block a user