mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-25 04:28:25 +02:00
IconFinder: Fix imagelisteditor occasionally using only the smallest icon.
This commit is contained in:
parent
e77c73fbf8
commit
c59a6083cb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user