Ram Watch - Fix moving up and down blocks of identical Watches

This commit is contained in:
scrimpeh 2015-07-05 18:55:43 +02:00
parent f472b4802d
commit 60c3734e8c
1 changed files with 2 additions and 2 deletions

View File

@ -849,7 +849,7 @@ namespace BizHawk.Client.EmuHawk
foreach (var index in indexes)
{
var watch = _watches[index];
_watches.Remove(watch);
_watches.RemoveAt(index);
_watches.Insert(index - 1, watch);
}
@ -877,7 +877,7 @@ namespace BizHawk.Client.EmuHawk
for (var i = indices.Count - 1; i >= 0; i--)
{
var watch = _watches[indices[i]];
_watches.Remove(watch);
_watches.RemoveAt(indices[i]);
_watches.Insert(indices[i] + 1, watch);
}