mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 13:39:17 +02:00
IdeDebugger: fix crash in breakpoint-list-window (drag/drop between groups)
This commit is contained in:
parent
7cf389203d
commit
c29c71d9bc
@ -185,6 +185,7 @@ begin
|
||||
|
||||
if (Source = FTree) and (FTree.SelectedCount > 0) then begin
|
||||
for VNode in FTree.SelectedNodes(True) do begin
|
||||
if Brk = nil then Continue; // Header row selected
|
||||
Brk := TIDEBreakPoint(FTree.NodeItem[VNode]);
|
||||
Brk.Group := NewGroup;
|
||||
end;
|
||||
@ -214,6 +215,7 @@ begin
|
||||
if not Accept then begin
|
||||
for VNode in FTree.SelectedNodes(True) do begin
|
||||
Brk := TIDEBreakPoint(FTree.NodeItem[VNode]);
|
||||
if Brk = nil then Continue; // Header row selected
|
||||
if Brk.Group <> FBrkGroup then begin
|
||||
Accept := True;
|
||||
Break;
|
||||
|
Loading…
Reference in New Issue
Block a user