Browse Source

REPORT-32073 fix 换个好名字

feature/big-screen
hades 5 years ago
parent
commit
9870bc907f
  1. 6
      designer-realize/src/main/java/com/fr/design/webattr/EditToolBar.java

6
designer-realize/src/main/java/com/fr/design/webattr/EditToolBar.java

@ -224,9 +224,9 @@ public class EditToolBar extends BasicPane {
if (widget instanceof Button) { if (widget instanceof Button) {
String iconname = ((Button) widget).getIconName(); String iconname = ((Button) widget).getIconName();
if (StringUtils.isNotBlank(iconname)) { if (StringUtils.isNotBlank(iconname)) {
Image iimage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname); Image iconImage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname);
if (iimage != null) { if (iconImage != null) {
toolBarButton.setIcon(new ImageIcon(iimage)); toolBarButton.setIcon(new ImageIcon(iconImage));
} else { } else {
FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!"); FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!");
} }

Loading…
Cancel
Save