IDEMPIERE-663 Zk: Remove the need of re-query for table editor after user have create a new record. Fixed NPE.
This commit is contained in:
parent
ada4a0f749
commit
be80f21469
|
@ -211,9 +211,11 @@ ContextMenuListener, IZoomableEditor
|
|||
}
|
||||
|
||||
private void createCacheListener() {
|
||||
String columnName = lookup.getColumnName();
|
||||
String tableName = columnName.substring(0, columnName.indexOf("."));
|
||||
tableCacheListener = new CCacheListener(tableName, this);
|
||||
if (lookup != null) {
|
||||
String columnName = lookup.getColumnName();
|
||||
String tableName = columnName.substring(0, columnName.indexOf("."));
|
||||
tableCacheListener = new CCacheListener(tableName, this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue