Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
albireo77 committed Nov 25, 2018
1 parent f0c7f92 commit c0ed0d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Blocks/Base_Block.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,10 @@ function TGroupBlock.Remove(ANode: TTreeNode): boolean;
result := CanRemove;
if result then
begin
result := RemoveBranch(GetBranchIndexByControl(ANode.Data));
if ANode <> nil then
result := RemoveBranch(GetBranchIndexByControl(ANode.Data))
else
result := false;
if not result then
result := inherited Remove(ANode);
end;
Expand Down

0 comments on commit c0ed0d1

Please sign in to comment.