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) {
String iconname = ((Button) widget).getIconName();
if (StringUtils.isNotBlank(iconname)) {
Image iimage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname);
if (iimage != null) {
toolBarButton.setIcon(new ImageIcon(iimage));
Image iconImage = WidgetInfoConfig.getInstance().getIconManager().getIconImage(iconname);
if (iconImage != null) {
toolBarButton.setIcon(new ImageIcon(iconImage));
} else {
FineLoggerFactory.getLogger().warn(iconname + " can not find in finedb!");
}

Loading…
Cancel
Save