mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:59:16 +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);
|
exit(mrAbort);
|
||||||
end;
|
end;
|
||||||
if CurResult<>mrOk then Result:=mrCancel;
|
if CurResult<>mrOk then Result:=mrCancel;
|
||||||
CurResult:=DoSaveProject(Flags);
|
CurResult:=DoSaveProject(Flags+[sfSaveNonProjectFiles]);
|
||||||
if CurResult<>mrOK then begin
|
if CurResult<>mrOK then begin
|
||||||
if ConsoleVerbosity>0 then
|
if ConsoleVerbosity>0 then
|
||||||
debugln(['Error: (lazarus) [TMainIDE.DoSaveAll] DoSaveProject failed']);
|
debugln(['Error: (lazarus) [TMainIDE.DoSaveAll] DoSaveProject failed']);
|
||||||
|
@ -4062,7 +4062,7 @@ begin
|
|||||||
if AnUnitInfo.IsVirtual then begin
|
if AnUnitInfo.IsVirtual then begin
|
||||||
if (sfSaveToTestDir in Flags) then
|
if (sfSaveToTestDir in Flags) then
|
||||||
Include(SaveFileFlags,sfSaveToTestDir)
|
Include(SaveFileFlags,sfSaveToTestDir)
|
||||||
else
|
else if not (sfSaveNonProjectFiles in Flags) then
|
||||||
continue;
|
continue;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user