|
|
|
@ -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!"); |
|
|
|
|
} |
|
|
|
|