LCL: dbgrid, fixed FieldName/DisplayFormat typo

git-svn-id: trunk@11115 -
This commit is contained in:
jesus 2007-05-09 16:39:56 +00:00
parent 62fbb07216
commit d4b0c88e83

View File

@ -3160,7 +3160,7 @@ begin
try try
inherited Assign(Source); inherited Assign(Source);
FieldName := TColumn(Source).FieldName; FieldName := TColumn(Source).FieldName;
DisplayFormat := TColumn(Source).FieldName; DisplayFormat := TColumn(Source).DisplayFormat;
ValueChecked := TColumn(Source).ValueChecked; ValueChecked := TColumn(Source).ValueChecked;
ValueUnchecked := TColumn(Source).ValueUnchecked; ValueUnchecked := TColumn(Source).ValueUnchecked;
finally finally