mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 11:10:23 +02:00
Packager: Assert that TPackageEditorForm.TraverseSettings really is obsolete.
git-svn-id: trunk@63895 -
This commit is contained in:
parent
2fdd890e2c
commit
f9814634a0
@ -3427,23 +3427,23 @@ procedure TPackageEditorForm.TraverseSettings(AOptions: TAbstractPackageFileIDEO
|
|||||||
if Control <> nil then
|
if Control <> nil then
|
||||||
begin
|
begin
|
||||||
if Control is TAbstractIDEOptionsEditor then
|
if Control is TAbstractIDEOptionsEditor then
|
||||||
|
begin
|
||||||
|
Assert(False,'TPackageEditorForm.TraverseSettings: IDEOptionsEditor found under PropsPageControl');
|
||||||
with TAbstractIDEOptionsEditor(Control) do
|
with TAbstractIDEOptionsEditor(Control) do
|
||||||
begin
|
case anAction of
|
||||||
case anAction of
|
|
||||||
iodaRead: ReadSettings(AOptions);
|
iodaRead: ReadSettings(AOptions);
|
||||||
iodaWrite: WriteSettings(AOptions);
|
iodaWrite: WriteSettings(AOptions);
|
||||||
iodaRestore: RestoreSettings(AOptions);
|
iodaRestore: RestoreSettings(AOptions);
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
for i := 0 to Control.ControlCount -1 do
|
for i := 0 to Control.ControlCount -1 do
|
||||||
if Control.Controls[i] is TWinControl then
|
if Control.Controls[i] is TWinControl then
|
||||||
begin
|
|
||||||
Traverse(TWinControl(Control.Controls[i]));
|
Traverse(TWinControl(Control.Controls[i]));
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
DebugLn(['TPackageEditorForm.TraverseSettings: AOptions=', AOptions, ', Action=', anAction]);
|
||||||
Traverse(PropsPageControl);
|
Traverse(PropsPageControl);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user