Fixed [ 1733684 ] Product Window Giving Error after Auto-Completion Patch

http://sourceforge.net/tracker/index.php?func=detail&aid=1733684&group_id=176962&atid=879332
This commit is contained in:
vpj-cd 2007-06-08 18:26:55 +00:00
parent 981b55c095
commit bf2b26b934
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ public class VLookup extends JComponent
m_columnName = columnName; m_columnName = columnName;
setMandatory(mandatory); setMandatory(mandatory);
m_lookup = lookup; m_lookup = lookup;
if (m_lookup != null)
m_lookup.setMandatory(mandatory); m_lookup.setMandatory(mandatory);
// //
setLayout(new BorderLayout()); setLayout(new BorderLayout());