mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-15 21:09:06 +02:00
* Fix bug ID 37737: always set parentcomponent
This commit is contained in:
parent
4b28b7b3b5
commit
784e85a9dd
@ -5829,7 +5829,7 @@ end;
|
|||||||
procedure TField.SetParentComponent(Value: TComponent);
|
procedure TField.SetParentComponent(Value: TComponent);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if not (csLoading in ComponentState) then
|
// if not (csLoading in ComponentState) then
|
||||||
DataSet := Value as TDataSet;
|
DataSet := Value as TDataSet;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user