IDEMPIERE-454 Easy import / Fix NPE on Invoice Info window introduced by fc38a12c9bd3
This commit is contained in:
parent
c155937c9e
commit
d5bc475376
|
@ -281,7 +281,8 @@ ContextMenuListener, IZoomableEditor
|
|||
//still not in list, reset to zero
|
||||
if (!getComponent().isSelected(value))
|
||||
{
|
||||
if (value instanceof Integer && gridField != null && gridField.getDisplayType() != DisplayType.ID && !gridTab.getTableModel().isImporting()) // for IDs is ok to be out of the list
|
||||
if (value instanceof Integer && gridField != null && gridField.getDisplayType() != DisplayType.ID
|
||||
&& gridTab != null && !gridTab.getTableModel().isImporting()) // for IDs is ok to be out of the list
|
||||
{
|
||||
getComponent().setValue(null);
|
||||
if (curValue == null)
|
||||
|
|
Loading…
Reference in New Issue