mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 04:49:43 +02:00
TAChart: Fix TFuncSeries crashing if x-Extent is set at design-time (bug added by #56335)
git-svn-id: trunk@56495 -
This commit is contained in:
parent
fde0802695
commit
0ced9ed347
@ -569,7 +569,9 @@ var
|
||||
ymin, ymax: Double;
|
||||
begin
|
||||
inherited GetBounds(ABounds);
|
||||
if not Extent.UseXMin or not Extent.UseXMax or not ExtentAutoY then
|
||||
if not Extent.UseXMin or not Extent.UseXMax or not ExtentAutoY or
|
||||
(csDesigning in ComponentState)
|
||||
then
|
||||
exit;
|
||||
ymin := SafeInfinity;
|
||||
ymax := NegInfinity;
|
||||
|
Loading…
Reference in New Issue
Block a user