mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
LCL: Avoid SegFault of freshly created TCustomListview with owner-data (issue #34407, patch by Charles Grunwald).
git-svn-id: trunk@59287 -
This commit is contained in:
parent
903fe44d31
commit
1fa1c72584
@ -1670,6 +1670,7 @@ begin
|
||||
EndUpdate;
|
||||
end;
|
||||
end else
|
||||
if FSelected <> nil then
|
||||
FSelected.Selected := False;
|
||||
FSelected := nil;
|
||||
Include(FFlags,lffSelectedValid);
|
||||
|
Loading…
Reference in New Issue
Block a user