TAChart: Fix TFitSeries crashing without ParentChart (demos/runtime/plotdemo).

git-svn-id: trunk@60586 -
This commit is contained in:
wp 2019-03-04 17:38:18 +00:00
parent 5fb72b751a
commit b583d03e54
2 changed files with 6 additions and 6 deletions

View File

@ -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>

View File

@ -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;