Added null check.

This commit is contained in:
Heng Sin Low 2011-02-07 11:03:36 +08:00
parent acebf0625a
commit 8f8f279cb9
1 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,11 @@ public class WLocatorEditor extends WEditor implements EventListener, PropertyCh
private void setValue (Object value, boolean fire)
{
if(m_mLocator==null)
{
return;
}
if (value != null)
{
m_mLocator.setOnly_Warehouse_ID (getOnly_Warehouse_ID ());