mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 02:49:25 +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);
|
||||
end
|
||||
else
|
||||
CreateListItems;
|
||||
FListItems := CreateListItems;
|
||||
|
||||
if HandleAllocated then
|
||||
TWSCustomListViewClass(WidgetSetClass).SetOwnerData(Self, AValue);
|
||||
|
Loading…
Reference in New Issue
Block a user