mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 10:19:15 +02:00
listview: ownerdata caching callback is called immediate on item requested
git-svn-id: trunk@23403 -
This commit is contained in:
parent
de69868995
commit
9415273de1
@ -777,7 +777,10 @@ begin
|
|||||||
FDataIndex := ADataIndex;
|
FDataIndex := ADataIndex;
|
||||||
FCached := False;
|
FCached := False;
|
||||||
if Assigned(FSubItems) then FSubItems.Clear;
|
if Assigned(FSubItems) then FSubItems.Clear;
|
||||||
if FDataIndex>=0 then WSUpdateState;
|
if FDataIndex>=0 then begin
|
||||||
|
WSUpdateState;
|
||||||
|
DoCacheItem;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user