mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 08:38:25 +02:00
LCL: Clear also Images list for icons. Issue #24937, patch from ChrisF
git-svn-id: trunk@42555 -
This commit is contained in:
parent
a435bd680f
commit
86148df684
@ -164,6 +164,7 @@ var
|
|||||||
begin
|
begin
|
||||||
for n := 0 to FImages.Count - 1 do
|
for n := 0 to FImages.Count - 1 do
|
||||||
TObject(FImages[n]).Free;
|
TObject(FImages[n]).Free;
|
||||||
|
FImages.Clear;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSharedIcon.GetIndex(AFormat: TPixelFormat; AHeight, AWidth: Word): Integer;
|
function TSharedIcon.GetIndex(AFormat: TPixelFormat; AHeight, AWidth: Word): Integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user