mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 05:56:16 +02:00
TAChart: Fix TFitSeries crashing without ParentChart (demos/runtime/plotdemo).
git-svn-id: trunk@60586 -
This commit is contained in:
parent
5fb72b751a
commit
b583d03e54
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="10"/>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
@ -9,7 +9,6 @@
|
||||
<Title Value="plotdemo"/>
|
||||
<ResourceType Value="res"/>
|
||||
<UseXPManifest Value="True"/>
|
||||
<Icon Value="0"/>
|
||||
</General>
|
||||
<i18n>
|
||||
<EnableI18N LFM="False"/>
|
||||
@ -21,9 +20,10 @@
|
||||
<Version Value="2"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
</local>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes Count="1">
|
||||
<Mode0 Name="default"/>
|
||||
</Modes>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="2">
|
||||
<Item1>
|
||||
|
@ -1778,7 +1778,7 @@ var
|
||||
end;
|
||||
|
||||
begin
|
||||
if (State <> fpsUnknown) or not Active or IsEmpty or
|
||||
if (State <> fpsUnknown) or not Active or IsEmpty or (FChart = nil) or
|
||||
([csLoading, csDestroying] * ComponentState <> [])
|
||||
then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user