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,8 +886,11 @@ begin
end else
begin
// Item without appendix
Result := item;
exit;
if ((item.Width = AWidth) and (item.Height = AHeight)) or ((AWidth = -1) and (AHeight = -1)) then
begin
Result := item;
exit;
end;
end;
end;
end;