Ram Watch - Remove Watch function implemented

This commit is contained in:
andres.delikat 2011-01-21 03:59:53 +00:00
parent e62c1bc673
commit d0a0d198f0
1 changed files with 8 additions and 0 deletions

View File

@ -176,6 +176,14 @@ namespace BizHawk.MultiClient
void RemoveWatch()
{
//TODO: flag that changes have been made
//TODO: why can't the user selected multiple indices even though mutliselect is set to true?
ListView.SelectedIndexCollection indexes = WatchListView.SelectedIndices;
foreach (int index in indexes)
{
watchList.Remove(watchList[index]);
}
DisplayWatchList();
}
void DuplicateWatch()