mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 04:59:20 +01:00
IDE: saveall: check units modified
git-svn-id: trunk@23071 -
This commit is contained in:
parent
725116be84
commit
b54a398642
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user