mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 15:19:21 +02:00
LCL: TListView: Fixed Access Violation switching OwnerData. Issue #31880
git-svn-id: trunk@55026 -
This commit is contained in:
parent
7a3d5c7a3f
commit
ef3093eb1b
@ -1628,7 +1628,7 @@ begin
|
|||||||
FListItems := TOwnerDataListItems.Create(Self);
|
FListItems := TOwnerDataListItems.Create(Self);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
CreateListItems;
|
FListItems := CreateListItems;
|
||||||
|
|
||||||
if HandleAllocated then
|
if HandleAllocated then
|
||||||
TWSCustomListViewClass(WidgetSetClass).SetOwnerData(Self, AValue);
|
TWSCustomListViewClass(WidgetSetClass).SetOwnerData(Self, AValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user