mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
PoChecker: don't autocreate the GraphStat form (fixes crash when run as tool from IDE).
git-svn-id: trunk@46236 -
This commit is contained in:
parent
679d20a26e
commit
4145473e3d
@ -16,7 +16,6 @@ begin
|
||||
RequireDerivedFormResource := True;
|
||||
Application.Initialize;
|
||||
Application.CreateForm(TPoCheckerForm, PoCheckerForm);
|
||||
Application.CreateForm(TGraphStatForm, GraphStatForm);
|
||||
Application.Run;
|
||||
end.
|
||||
|
||||
|
@ -94,9 +94,10 @@ end;
|
||||
|
||||
procedure TResultDlgForm.GraphStatBtnClick(Sender: TObject);
|
||||
begin
|
||||
Debugln('TResultDlgForm.GraphStatBtnClick: Assigned(GraphStatForm) = ',DbgS(Assigned(GraphStatForm)));
|
||||
GraphStatForm := TGraphStatForm.Create(nil);
|
||||
GraphStatForm.PoFamilyStats := Self.PoFamilyStats;
|
||||
GraphStatForm.ShowModal;
|
||||
FreeAndNil(GraphStatForm);
|
||||
end;
|
||||
|
||||
procedure TResultDlgForm.SaveBtnClick(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user