IDEMPIERE-5585 : Drill Assistant image not shown using theme with images (#1683)
https://idempiere.atlassian.net/browse/IDEMPIERE-5585
This commit is contained in:
parent
1e70b29ca2
commit
e56131b5ea
|
|
@ -51,7 +51,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener<Event>
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -1632375949585292635L;
|
private static final long serialVersionUID = 6190279880520042885L;
|
||||||
|
|
||||||
public static final String EVENT_ATTRIBUTE = "EVENT";
|
public static final String EVENT_ATTRIBUTE = "EVENT";
|
||||||
public static final String ZOOM_EVENT = "ZOOM";
|
public static final String ZOOM_EVENT = "ZOOM";
|
||||||
|
|
@ -291,7 +291,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener<Event>
|
||||||
if (ThemeManager.isUseFontIconForImage())
|
if (ThemeManager.isUseFontIconForImage())
|
||||||
drillItem.setIconSclass("z-icon-Window");
|
drillItem.setIconSclass("z-icon-Window");
|
||||||
else
|
else
|
||||||
drillItem.setImage(ThemeManager.getThemeResource("images/Window16.png"));
|
drillItem.setImage(ThemeManager.getThemeResource("images/mWindow.png"));
|
||||||
drillItem.addEventListener(Events.ON_CLICK, this);
|
drillItem.addEventListener(Events.ON_CLICK, this);
|
||||||
this.appendChild(drillItem);
|
this.appendChild(drillItem);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue