mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:20:34 +02:00
lazcontrols: TTreeFilterBranch.RemoveChildrenData: fixed crash when passing nil
git-svn-id: trunk@43355 -
This commit is contained in:
parent
de89e7cd72
commit
1ae4a6b361
@ -359,6 +359,7 @@ procedure TTreeFilterBranch.RemoveChildrenData(ARootNode : TTreeNode);
|
||||
end;
|
||||
|
||||
Begin
|
||||
if ARootNode=nil then exit;
|
||||
ProcessSubNodes(ARootNode);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user