New Ram Search - Exclude Ram Watch feature - update totals when removing addresses, do remove on Add To Ram Watch

This commit is contained in:
adelikat 2013-09-25 02:12:58 +00:00
parent 6731bd44cb
commit ece435555d
1 changed files with 6 additions and 0 deletions

View File

@ -434,6 +434,11 @@ namespace BizHawk.MultiClient
{
Global.MainForm.NewRamWatch1.AddWatch(Searches[SelectedIndices[x]]);
}
if (Global.Config.RamSearchAlwaysExcludeRamWatch)
{
RemoveRamWatchesFromList();
}
}
}
@ -491,6 +496,7 @@ namespace BizHawk.MultiClient
private void RemoveRamWatchesFromList()
{
Searches.RemoveRange(Global.MainForm.NewRamWatch1.AddressList);
SetTotal();
}
#endregion