debugger: delete all selected watches, not only first selected

git-svn-id: trunk@15324 -
This commit is contained in:
paul 2008-06-06 01:08:49 +00:00
parent 3fb74407a3
commit 709cbabbdb
2 changed files with 8 additions and 2 deletions

View File

@ -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);

View File

@ -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;