mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 11:39:19 +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
|
||||
// save source to file
|
||||
Result := ActiveUnitInfo.WriteUnitSource;
|
||||
if Result = mrAbort then
|
||||
if Result <> mrOK then
|
||||
Exit;
|
||||
DestFilename := ActiveUnitInfo.Filename;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user