mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 04:19:09 +02:00
IDE: removed a leftover loop in TMainIDE.DoCloseEditorFile, working identically with the remaining loop.
git-svn-id: trunk@27426 -
This commit is contained in:
parent
19d1bedc52
commit
53f9372ad7
@ -8243,8 +8243,6 @@ begin
|
||||
Result:=mrOk;
|
||||
while (AnUnitInfo.OpenEditorInfoCount > 0) and (Result = mrOK) do
|
||||
Result:=DoCloseEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent, Flags);
|
||||
while (AnUnitInfo.OpenEditorInfoCount > 0) and
|
||||
(DoCloseEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent, Flags) = mrOK) do;
|
||||
end;
|
||||
|
||||
function TMainIDE.DoCloseEditorFile(AEditor: TSourceEditorInterface;
|
||||
|
Loading…
Reference in New Issue
Block a user