mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-22 11:59:29 +02:00
* Fix AV when doing "new project group" and there is already a PG open
git-svn-id: trunk@61587 -
This commit is contained in:
parent
00e999485d
commit
7925f988ef
@ -104,6 +104,8 @@ type
|
||||
procedure SetTargetType(AValue: TPGTargetType); override;
|
||||
public
|
||||
constructor Create(aOwner: TProjectGroup);
|
||||
Destructor Destroy; override;
|
||||
|
||||
end;
|
||||
|
||||
TTargetEvent = procedure(Sender: TObject; Target: TPGCompileTarget) of object;
|
||||
@ -1055,6 +1057,12 @@ begin
|
||||
Filename:=ProjectGroup.FileName;
|
||||
end;
|
||||
|
||||
destructor TRootProjectGroupTarget.Destroy;
|
||||
begin
|
||||
FProjectGroup:=Nil;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
{ TIDEProjectGroup }
|
||||
|
||||
procedure TIDEProjectGroup.SetFileName(AValue: String);
|
||||
|
Loading…
Reference in New Issue
Block a user