mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
IDE: Removed a duplicate check for Nil in SaveSourceEditorProjectSpecificSettings.
git-svn-id: trunk@29625 -
This commit is contained in:
parent
afb0fca7f1
commit
203872b378
@ -7636,14 +7636,10 @@ end;
|
|||||||
|
|
||||||
procedure TMainIDE.SaveSourceEditorProjectSpecificSettings;
|
procedure TMainIDE.SaveSourceEditorProjectSpecificSettings;
|
||||||
var
|
var
|
||||||
AnEditorInfo: TUnitEditorInfo;
|
|
||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
for i := 0 to Project1.AllEditorsInfoCount - 1 do begin
|
for i := 0 to Project1.AllEditorsInfoCount - 1 do
|
||||||
AnEditorInfo := Project1.AllEditorsInfo[i];
|
SaveSrcEditorProjectSpecificSettings(Project1.AllEditorsInfo[i]);
|
||||||
if (AnEditorInfo.EditorComponent <> nil) then
|
|
||||||
SaveSrcEditorProjectSpecificSettings(AnEditorInfo);
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TMainIDE.DoShowSaveProjectAsDialog(UseMainSourceFile: boolean): TModalResult;
|
function TMainIDE.DoShowSaveProjectAsDialog(UseMainSourceFile: boolean): TModalResult;
|
||||||
|
Loading…
Reference in New Issue
Block a user