* Fix bug ID 37737: always set parentcomponent

This commit is contained in:
michael 2020-09-12 07:52:43 +00:00
parent 4b28b7b3b5
commit 784e85a9dd

View File

@ -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;