mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 03:48:08 +02:00
IDE: Save also Macro editors with "Save All" command. Issue #40268, draft by Domingo Galmés.
This commit is contained in:
parent
867938ca00
commit
1a9142c9e2
@ -5775,7 +5775,7 @@ begin
|
||||
exit(mrAbort);
|
||||
end;
|
||||
if CurResult<>mrOk then Result:=mrCancel;
|
||||
CurResult:=DoSaveProject(Flags);
|
||||
CurResult:=DoSaveProject(Flags+[sfSaveNonProjectFiles]);
|
||||
if CurResult<>mrOK then begin
|
||||
if ConsoleVerbosity>0 then
|
||||
debugln(['Error: (lazarus) [TMainIDE.DoSaveAll] DoSaveProject failed']);
|
||||
|
@ -4062,7 +4062,7 @@ begin
|
||||
if AnUnitInfo.IsVirtual then begin
|
||||
if (sfSaveToTestDir in Flags) then
|
||||
Include(SaveFileFlags,sfSaveToTestDir)
|
||||
else
|
||||
else if not (sfSaveNonProjectFiles in Flags) then
|
||||
continue;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user