DEMPIERE-1016 Tree panel in windows not working.

This commit is contained in:
Heng Sin Low 2013-06-10 17:58:11 +08:00
parent 803997fdf6
commit bd7d732f87
1 changed files with 4 additions and 1 deletions

View File

@ -359,7 +359,10 @@ public class TreeSearchPanel extends Panel implements EventListener<Event>, Tree
Comboitem item = (Comboitem) comp;
String value = item.getLabel();
String type = item.getContent();
selectTreeitem(value+"."+type);
if (!Util.isEmpty(type))
selectTreeitem(value+"."+type);
else
selectTreeitem(value);
}
}
}