mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 12:35:55 +02:00
IDE: Fix error when Actionlist has no TImageList assigned. Patch from August Klein, issue #19566
git-svn-id: trunk@31379 -
This commit is contained in:
parent
1463080eaa
commit
7fe38c1762
@ -702,6 +702,7 @@ var
|
||||
Images: TCustomImageList;
|
||||
I: Integer;
|
||||
begin
|
||||
Proc(IntToStr(GetDefaultOrdValue));
|
||||
Images := GetImageList;
|
||||
if Assigned(Images) then
|
||||
for I := 0 to Images.Count - 1 do
|
||||
@ -726,6 +727,7 @@ var
|
||||
R: TRect;
|
||||
OldColor: TColor;
|
||||
begin
|
||||
Dec(Index);
|
||||
Images := GetImageList;
|
||||
R := ARect;
|
||||
if Assigned(Images) then
|
||||
|
Loading…
Reference in New Issue
Block a user