From f96221f0d3767a06e32598f07de0d998353072c7 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Thu, 20 Mar 2008 04:24:07 +0000 Subject: [PATCH] * minor - null check. --- client/src/org/compiere/grid/ed/VLocator.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/org/compiere/grid/ed/VLocator.java b/client/src/org/compiere/grid/ed/VLocator.java index dd1fef2477..6922ccbd3f 100644 --- a/client/src/org/compiere/grid/ed/VLocator.java +++ b/client/src/org/compiere/grid/ed/VLocator.java @@ -229,6 +229,11 @@ public class VLocator extends JComponent */ private void setValue (Object value, boolean fire) { + if (m_mLocator == null) + { + return ; + } + if (value != null) { m_mLocator.setOnly_Warehouse_ID (getOnly_Warehouse_ID ());