mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-06 11:20:37 +01:00
Qt: fixed TListItem clearing icon. issue #23225
git-svn-id: trunk@39218 -
This commit is contained in:
parent
a0224f784a
commit
d0904e069a
@ -1300,6 +1300,13 @@ begin
|
||||
finally
|
||||
Bmp.Free;
|
||||
end;
|
||||
end else
|
||||
if (AImageIndex < 0) then
|
||||
begin
|
||||
if LWI <> nil then
|
||||
QListWidgetItem_setIcon(LWI, nil)
|
||||
else
|
||||
QTreeWidgetItem_setIcon(TWI, ASubIndex, nil);
|
||||
end;
|
||||
finally
|
||||
ImgList.Free;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user