diff --git a/client/src/org/compiere/grid/ed/VLookup.java b/client/src/org/compiere/grid/ed/VLookup.java index 5bd7151ee6..94c8bc9323 100644 --- a/client/src/org/compiere/grid/ed/VLookup.java +++ b/client/src/org/compiere/grid/ed/VLookup.java @@ -152,6 +152,7 @@ public class VLookup extends JComponent m_columnName = columnName; setMandatory(mandatory); m_lookup = lookup; + if (m_lookup != null) m_lookup.setMandatory(mandatory); // setLayout(new BorderLayout());