diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java index 876df630fe..e24f491a39 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java @@ -244,6 +244,17 @@ public class TreeSearchPanel extends Panel implements EventListener, Tree treeValues[i] = mNode.getName(); treeDescription[i] = mNode.getDescription(); String imagePath = mNode.getImagePath(); + if (imagePath != null) + { + if (imagePath.startsWith("/images")) + { + imagePath = ThemeManager.getThemeResource(imagePath.substring(1)); + } + else if (imagePath.startsWith("images")) + { + imagePath = ThemeManager.getThemeResource(imagePath); + } + } treeImages[i] = imagePath != null ? imagePath.intern() : null; } }