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:
maxim 2016-01-18 23:09:29 +00:00
parent 5db06fde95
commit aafe5f17a7

View File

@ -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,