mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 07:29:21 +02:00
IDE: save editor file: stop on any WriteUnitSource failure
git-svn-id: trunk@17806 -
This commit is contained in:
parent
a3471e0254
commit
a551e636a9
@ -7181,7 +7181,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
// save source to file
|
// save source to file
|
||||||
Result := ActiveUnitInfo.WriteUnitSource;
|
Result := ActiveUnitInfo.WriteUnitSource;
|
||||||
if Result = mrAbort then
|
if Result <> mrOK then
|
||||||
Exit;
|
Exit;
|
||||||
DestFilename := ActiveUnitInfo.Filename;
|
DestFilename := ActiveUnitInfo.Filename;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user