mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 20:39:25 +01: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