diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WTableDirEditor.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WTableDirEditor.java index aaf0f257f3..8bdd4fdf4f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WTableDirEditor.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WTableDirEditor.java @@ -411,7 +411,8 @@ ContextMenuListener, IZoomableEditor @Override public void dynamicDisplay() { - if ((lookup != null) && (!lookup.isValidated() || !lookup.isLoaded())) + if ((lookup != null) && (!lookup.isValidated() || !lookup.isLoaded() + || (isReadWrite() && lookup.getSize() != getComponent().getItemCount()))) this.actionRefresh(); } }