mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:19:19 +02:00
IDE: Store component objects to palette page cache lists for the sake of symmetry and possible future needs.
git-svn-id: trunk@47007 -
This commit is contained in:
parent
6ea31e7ad9
commit
c6ec72dd8a
@ -556,7 +556,7 @@ var
|
||||
PgName: string;
|
||||
Comp: TRegisteredComponent;
|
||||
begin
|
||||
if fOrigComponentPageCache.Count > 0 then Exit; // Cache only once.
|
||||
if fOrigComponentPageCache.Count > 0 then Exit; // Fill cache only once.
|
||||
for PageI := 0 to fOrigPagePriorities.Count-1 do
|
||||
begin
|
||||
PgName:=fOrigPagePriorities.Keys[PageI];
|
||||
@ -569,7 +569,7 @@ begin
|
||||
for CompI := 0 to fComps.Count-1 do begin
|
||||
Comp := fComps[CompI];
|
||||
if Comp.OrigPageName = PgName then //if SameText(Comp.OrigPageName, PgName) then
|
||||
sl.Add(Comp.ComponentClass.ClassName);
|
||||
sl.AddObject(Comp.ComponentClass.ClassName, Comp);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user