[ 1886007 ] Organization window: form not sync navigating back to root

This commit is contained in:
Heng Sin Low 2008-02-04 02:53:14 +00:00
parent b2e2e1e24b
commit cb8ecc26b3
1 changed files with 4 additions and 3 deletions

View File

@ -820,8 +820,8 @@ public class GridController extends CPanel
// We Have a TreeNode
int nodeID = ((MTreeNode)value).getNode_ID();
// root of tree selected - ignore
if (nodeID == 0)
return;
//if (nodeID == 0)
//return;
// Search all rows for mode id
int size = m_mTab.getRowCount();
@ -836,7 +836,8 @@ public class GridController extends CPanel
}
if (row == -1)
{
log.log(Level.SEVERE, "Tab does not have ID with Node_ID=" + nodeID);
if (nodeID > 0)
log.log(Level.WARNING, "Tab does not have ID with Node_ID=" + nodeID);
return;
}