[ 1711795 ] Combination copied itself in Grid mode

This commit is contained in:
Heng Sin Low 2008-02-12 16:17:21 +00:00
parent 26d0386f45
commit de4f80e974
1 changed files with 5 additions and 1 deletions

View File

@ -206,8 +206,12 @@ public class VEditorFactory
// Account
else if (displayType == DisplayType.Account)
{
//hengsin: bug [ 1711795 ] Combination copied itself in Grid mode
/*
VAccount acct = new VAccount (columnName, mandatory, readOnly, updateable,
(MAccountLookup)mField.getLookup(), mField.getHeader());
(MAccountLookup)mField.getLookup(), mField.getHeader());*/
VAccount acct = new VAccount (columnName, mandatory, readOnly, updateable,
new MAccountLookup (mField.getVO().ctx, mField.getWindowNo()), mField.getHeader());
acct.setName(columnName);
acct.setField (mField);
editor = acct;