mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:30:28 +02:00
fix create new record upon put object bug
git-svn-id: trunk@5554 -
This commit is contained in:
parent
fdce941451
commit
824f2101de
@ -173,7 +173,10 @@ var
|
|||||||
begin
|
begin
|
||||||
ARecord:=Records[Index];
|
ARecord:=Records[Index];
|
||||||
if ARecord=nil then
|
if ARecord=nil then
|
||||||
|
begin
|
||||||
CreateRecord(Index);
|
CreateRecord(Index);
|
||||||
|
ARecord:=Records[Index];
|
||||||
|
end;
|
||||||
TObject(ARecord^):=AnObject;
|
TObject(ARecord^):=AnObject;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user