mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 20:20:36 +02:00
TAChart: Fix skipping obsolete property
git-svn-id: trunk@27560 -
This commit is contained in:
parent
91aa289f6e
commit
51333d23ff
@ -463,12 +463,6 @@ begin
|
|||||||
StyleChanged(Self);
|
StyleChanged(Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure SkipObsoleteProperties;
|
|
||||||
begin
|
|
||||||
RegisterPropertyEditor(
|
|
||||||
TypeInfo(TChartDistance), TChartLegend, 'Margin', THiddenPropertyEditor);
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ TChartSeriesLegend }
|
{ TChartSeriesLegend }
|
||||||
|
|
||||||
procedure TChartSeriesLegend.Assign(Source: TPersistent);
|
procedure TChartSeriesLegend.Assign(Source: TPersistent);
|
||||||
@ -503,5 +497,14 @@ begin
|
|||||||
StyleChanged(Self);
|
StyleChanged(Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure SkipObsoleteProperties;
|
||||||
|
begin
|
||||||
|
RegisterPropertyEditor(
|
||||||
|
TypeInfo(TChartDistance), TChartLegend, 'Margin', THiddenPropertyEditor);
|
||||||
|
end;
|
||||||
|
|
||||||
|
initialization
|
||||||
|
SkipObsoleteProperties;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user