Converter: Fix an offset error in FromMapToGrid function.

git-svn-id: trunk@26343 -
This commit is contained in:
juha 2010-06-30 09:53:48 +00:00
parent 78b2105e0c
commit 7511dca4eb

View File

@ -86,8 +86,8 @@ begin
try
AGrid.BeginUpdate;
AMap.GetNames(List);
for i:=0 to List.Count-1 do begin
OldIdent:=List[i];
for i:=1 to List.Count do begin // Skip the fixed row in grid.
OldIdent:=List[i-1];
NewIdent:=AMap[OldIdent];
if AGrid.RowCount<i+2 then
AGrid.RowCount:=i+2; // Leave one empty row to the end.