mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 21:29:50 +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
|
||||
ARecord:=Records[Index];
|
||||
if ARecord=nil then
|
||||
begin
|
||||
CreateRecord(Index);
|
||||
ARecord:=Records[Index];
|
||||
end;
|
||||
TObject(ARecord^):=AnObject;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user