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() {
|
private void createCacheListener() {
|
||||||
String columnName = lookup.getColumnName();
|
if (lookup != null) {
|
||||||
String tableName = columnName.substring(0, columnName.indexOf("."));
|
String columnName = lookup.getColumnName();
|
||||||
tableCacheListener = new CCacheListener(tableName, this);
|
String tableName = columnName.substring(0, columnName.indexOf("."));
|
||||||
|
tableCacheListener = new CCacheListener(tableName, this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue