mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:29:08 +02:00
IDE: fixed saving file with syntax error with option remove empty methods
git-svn-id: trunk@18767 -
This commit is contained in:
parent
1bbc803e83
commit
edd4e307c9
@ -7185,7 +7185,7 @@ begin
|
||||
// the component is not yet implemented.
|
||||
Result:=RemoveEmptyMethods(ActiveUnitInfo.Source,
|
||||
ActiveUnitInfo.Component.ClassName,0,0,false,[pcsPublished]);
|
||||
if Result<>mrOk then exit;
|
||||
if Result=mrAbort then exit;
|
||||
end;
|
||||
|
||||
// b) do actual save
|
||||
|
Loading…
Reference in New Issue
Block a user