mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:39:30 +02:00
Converter: Fix an offset error in FromMapToGrid function.
git-svn-id: trunk@26343 -
This commit is contained in:
parent
78b2105e0c
commit
7511dca4eb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user