mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 11:40:35 +02:00
TAChart: Fix crash of IDE if TFitSeries is linked to a TUserDefinedChartSource
git-svn-id: trunk@49020 -
This commit is contained in:
parent
fd258ffc81
commit
a964ffb7de
@ -1414,6 +1414,7 @@ var
|
||||
ns := Source.Count;
|
||||
if (np <= 0) or (ns = 0) or (ns < np) then exit;
|
||||
CalcXRange(xmin, xmax);
|
||||
if xmin = xmax then exit;
|
||||
|
||||
n := 0;
|
||||
for i := 0 to ns - 1 do
|
||||
|
Loading…
Reference in New Issue
Block a user