mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 10:58:16 +02:00
IDE: fixed double Project.EndUpdate if creating a new console project was canceled.
git-svn-id: trunk@12656 -
This commit is contained in:
parent
d6b46fcbb5
commit
318b9d801a
@ -5617,8 +5617,9 @@ begin
|
||||
if FallbackProjectDesc=nil then exit;
|
||||
Result:=TProject.Create(FallbackProjectDesc);
|
||||
FallbackProjectDesc.InitProject(Result);
|
||||
end;
|
||||
Result.EndUpdate;
|
||||
end
|
||||
else
|
||||
Result.EndUpdate;
|
||||
|
||||
Result.MainProject:=true;
|
||||
Result.OnFileBackup:=@MainBuildBoss.BackupFile;
|
||||
|
Loading…
Reference in New Issue
Block a user