IDEMPIERE-4442 FIX NPE when locatorField is Empty (#260)
This commit is contained in:
parent
79d6c1e903
commit
dede5bd506
|
@ -659,6 +659,7 @@ public class WLocatorDialog extends Window implements EventListener<Event>
|
|||
if (m_change)
|
||||
{
|
||||
Integer locator_id = (Integer) locatorField.getValue();
|
||||
if(locator_id != null)
|
||||
return locator_id == m_M_Locator_ID;
|
||||
}
|
||||
return m_change;
|
||||
|
|
Loading…
Reference in New Issue