IdeDebugger: Breakpoint dialog, fix crash due to BreakGroup used as breakpoint.

This commit is contained in:
Martin 2023-07-25 13:34:42 +02:00
parent a2fa2d33cd
commit f01fd2064b

View File

@ -463,7 +463,7 @@ begin
if Result = nil then begin
tvBreakPoints.BeginUpdate;
try
Result := tvBreakPoints.AddChild(nil, ABrkGroup);
Result := tvBreakPoints.AddChild(nil, nil);
GrpHeader := TBreakpointGroupFrame.Create(Self, tvBreakPoints, Result, ABrkGroup);
GrpHeader.Visible := tbGroupByBrkGroup.Down;
GrpHeader.OnDeleteGroup := @DoGroupDeleteBtnClicked;