mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 10:18:05 +02:00
debugger: delete all selected watches, not only first selected
git-svn-id: trunk@15324 -
This commit is contained in:
parent
3fb74407a3
commit
709cbabbdb
@ -237,8 +237,14 @@ begin
|
||||
end;
|
||||
|
||||
procedure TWatchesDlg.popDeleteClick(Sender: TObject);
|
||||
var
|
||||
Item: TIDEWatch;
|
||||
begin
|
||||
GetSelected.Free;
|
||||
repeat
|
||||
Item := GetSelected;
|
||||
Item.Free;
|
||||
until Item = nil;
|
||||
//GetSelected.Free;
|
||||
end;
|
||||
|
||||
procedure TWatchesDlg.popDisableAllClick(Sender: TObject);
|
||||
|
@ -691,7 +691,7 @@ begin
|
||||
for i:=0 to Items.Count-1 do begin
|
||||
if Items[i].Selected then begin
|
||||
FSelected:=Items[i];
|
||||
DebugLn('TCustomListView.GetSelection ',dbgs(FSelected));
|
||||
//DebugLn('TCustomListView.GetSelection ',dbgs(FSelected));
|
||||
break;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user