lazcontrols: TTreeFilterBranch.RemoveChildrenData: fixed crash when passing nil

git-svn-id: branches/fixes_1_2@43356 -
This commit is contained in:
mattias 2013-11-03 08:34:46 +00:00
parent 1c967e864d
commit 11e4873909

View File

@ -362,6 +362,7 @@ procedure TTreeFilterBranch.RemoveChildrenData(ARootNode : TTreeNode);
end;
Begin
if ARootNode=nil then exit;
ProcessSubNodes(ARootNode);
end;