IDEMPIERE-943 Menu Lookup not showing dup names / fix problem reported by Heng Sin
This commit is contained in:
parent
f4c50410dc
commit
b90a6bfef1
|
@ -336,7 +336,19 @@ public class TreeSearchPanel extends Panel implements EventListener<Event>, Tree
|
|||
return;
|
||||
}
|
||||
|
||||
selectTreeitem(value);
|
||||
for(Component comp : cmbSearch.getChildren())
|
||||
{
|
||||
Comboitem item = (Comboitem) comp;
|
||||
if (item.getLabel().equals(value))
|
||||
{
|
||||
String type = item.getContent();
|
||||
if (!Util.isEmpty(type))
|
||||
selectTreeitem(value+"."+type);
|
||||
else
|
||||
selectTreeitem(value);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (event.getName().equals(ON_POST_FIRE_TREE_EVENT))
|
||||
|
|
Loading…
Reference in New Issue