mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 22:58:14 +02:00
TAChart: Fix TChartTitle.Assign
This commit is contained in:
parent
b6c79e640d
commit
365852ddae
@ -606,6 +606,7 @@ begin
|
||||
Self.FFont.Assign(Font);
|
||||
Self.FFrame.Assign(Frame);
|
||||
Self.FText.Assign(Text);
|
||||
Self.FWordWrap := WordWrap;
|
||||
end;
|
||||
|
||||
inherited Assign(ASource);
|
||||
|
@ -685,7 +685,7 @@ end;
|
||||
procedure TChartMargins.Assign(Source: TPersistent);
|
||||
begin
|
||||
if Source is TChartMargins then
|
||||
TChartMargins(Source).FData.FRect := Data;
|
||||
Self.FData.FRect := TChartMargins(Source).FData.FRect;
|
||||
inherited Assign(Source);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user