IDEMPIERE-3198 NPE on searching item on Menu in System / integrate patch from Henrique Lavezzo
This commit is contained in:
parent
e04e6d137c
commit
f7a129e7c8
|
@ -1078,7 +1078,8 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
|||
}
|
||||
else if (treePanel != null && event.getTarget() == treePanel.getTree()) {
|
||||
Treeitem item = treePanel.getTree().getSelectedItem();
|
||||
navigateTo((DefaultTreeNode<MTreeNode>)item.getValue());
|
||||
if (item.getValue() != null)
|
||||
navigateTo((DefaultTreeNode<MTreeNode>)item.getValue());
|
||||
}
|
||||
else if (ON_DEFER_SET_SELECTED_NODE.equals(event.getName())) {
|
||||
removeAttribute(ON_DEFER_SET_SELECTED_NODE_ATTR);
|
||||
|
|
Loading…
Reference in New Issue