diff --git a/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs b/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs index 09b82a7d08..679fa88ddb 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.cs @@ -741,14 +741,15 @@ namespace BizHawk.Client.EmuHawk private void RemoveWatchMenuItem_Click(object sender, EventArgs e) { - var items = SelectedItems.ToList(); - if (items.Any()) + var indices = SelectedIndices + .OrderByDescending(i => i) + .ToList(); + if (indices.Any()) { - foreach (var item in items) + foreach (var index in indices) { - _watches.Remove(item); + _watches.RemoveAt(index); } - WatchListView.RowCount = _watches.Count; GeneralUpdate(); UpdateWatchCount();