From cb8ecc26b38bfe5dd94e2314ba3414630031b502 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 4 Feb 2008 02:53:14 +0000 Subject: [PATCH] [ 1886007 ] Organization window: form not sync navigating back to root --- client/src/org/compiere/grid/GridController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/org/compiere/grid/GridController.java b/client/src/org/compiere/grid/GridController.java index 3d5421d460..ffcdcdf357 100644 --- a/client/src/org/compiere/grid/GridController.java +++ b/client/src/org/compiere/grid/GridController.java @@ -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; }