IconFinder: Fix imagelisteditor occasionally using only the smallest icon.

This commit is contained in:
wp_xyz 2024-10-12 23:13:46 +02:00
parent e77c73fbf8
commit c59a6083cb

View File

@ -886,11 +886,14 @@ begin
end else end else
begin begin
// Item without appendix // Item without appendix
if ((item.Width = AWidth) and (item.Height = AHeight)) or ((AWidth = -1) and (AHeight = -1)) then
begin
Result := item; Result := item;
exit; exit;
end; end;
end; end;
end; end;
end;
Result := nil; Result := nil;
end; end;