Fixed: previous bug-fix invalidated ImageList updating
This commit is contained in:
parent
4e24a4cd67
commit
713484f798
|
@ -523,11 +523,13 @@ var
|
|||
|
||||
begin
|
||||
Result := False;
|
||||
if (AIndex < 0) or (AIndex >= Count) then
|
||||
if not Assigned(FContainer) then
|
||||
exit;
|
||||
|
||||
if (not Assigned(FContainer)) or
|
||||
(not Assigned(FContainer.Graphics[AIndex].Picture.Graphic)) or
|
||||
if (AIndex < 0) or (AIndex >= FContainer.Graphics.Count) then
|
||||
exit;
|
||||
|
||||
if (not Assigned(FContainer.Graphics[AIndex].Picture.Graphic)) or
|
||||
(FContainer.Graphics[AIndex].Picture.Graphic.Empty) then
|
||||
exit;
|
||||
|
||||
|
|
Loading…
Reference in New Issue