diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java index a895dcc499..e1ad4f4587 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java @@ -340,5 +340,9 @@ public class WDocActionPanel extends Window implements EventListener { return true; } + + public int getNumberOfOptions() { + return lstDocAction != null ? lstDocAction.getItemCount() : 0; + } }