IDE: fixed double Project.EndUpdate if creating a new console project was canceled.

git-svn-id: trunk@12656 -
This commit is contained in:
vincents 2007-10-31 08:15:11 +00:00
parent d6b46fcbb5
commit 318b9d801a

View File

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