IDE: don't rebuild the IDE, if the user closed the confirmation dialog (mrCancel is returned for MessageDlg). Bug #8010

git-svn-id: trunk@10366 -
This commit is contained in:
vincents 2007-01-02 12:54:09 +00:00
parent a783783930
commit 4b95658b90

View File

@ -3209,7 +3209,7 @@ begin
Format(lisPkgMangThePackageWasMarkedForInstallationCurrentlyLazarus, [
'"', APackage.IDAsString, '"', #13, #13, #13]),
mtConfirmation,[mbYes,mbNo]);
if Result=mrNo then begin
if Result<>mrOk then begin
Result:=mrOk;
exit;
end;