IDEMPIERE-946: NullPointerException in Payment window > 'ReQuery' image icon on "Invoice Info" window
This commit is contained in:
parent
9d848f85c9
commit
6299a01f1d
|
@ -281,8 +281,8 @@ ContextMenuListener, IZoomableEditor
|
||||||
//still not in list, reset to zero
|
//still not in list, reset to zero
|
||||||
if (!getComponent().isSelected(value))
|
if (!getComponent().isSelected(value))
|
||||||
{
|
{
|
||||||
if (value instanceof Integer && gridField != null && gridField.getDisplayType() != DisplayType.ID
|
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
|
(gridTab==null || !gridTab.getTableModel().isImporting())) // for IDs is ok to be out of the list
|
||||||
{
|
{
|
||||||
getComponent().setValue(null);
|
getComponent().setValue(null);
|
||||||
if (curValue == null)
|
if (curValue == null)
|
||||||
|
|
Loading…
Reference in New Issue