IDE: saveall: check units modified

git-svn-id: trunk@23071 -
This commit is contained in:
mattias 2009-12-10 16:34:39 +00:00
parent 725116be84
commit b54a398642

View File

@ -10246,7 +10246,7 @@ begin
CurResult:=DoCallModalFunctionHandler(lihtOnSavingAll);
if CurResult=mrAbort then exit(mrAbort);
if CurResult<>mrOk then Result:=mrCancel;
if Project1.Modified or Project1.SessionModified then
if SomethingOfProjectIsModified then
CurResult:=DoSaveProject(Flags)
else
CurResult:=mrOk;