mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 15:48:03 +02:00
Merged revision(s) 51312 #235ced5144 from trunk:
lazcontrols: prevent AV in TTreeFilterEdit.RestoreSelection if treeview is nil. Issue #29441 ........ git-svn-id: branches/fixes_1_6@51331 -
This commit is contained in:
parent
5db06fde95
commit
aafe5f17a7
@ -560,6 +560,8 @@ var
|
||||
ANode, SelectNode: TTreeNode;
|
||||
CurText: string;
|
||||
begin
|
||||
if fFilteredTreeview=nil then Exit;
|
||||
|
||||
SelectNode:=Nil;
|
||||
// ToDo: support more than one items or otherwise clean the code.
|
||||
Assert(fSelectionList.Count < 2,
|
||||
|
Loading…
Reference in New Issue
Block a user