From e3d9706e9e3fe1aa3bc0dd8480baaf4306f987bb Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Sat, 10 Sep 2011 21:16:29 +0000 Subject: [PATCH] Ram Watch - update values when editing, removing, and duplicating a watch, and whenever a value is added to the watch by an external dialog --- BizHawk.MultiClient/tools/RamWatch.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/tools/RamWatch.cs b/BizHawk.MultiClient/tools/RamWatch.cs index b460443ca8..ce82288921 100644 --- a/BizHawk.MultiClient/tools/RamWatch.cs +++ b/BizHawk.MultiClient/tools/RamWatch.cs @@ -80,8 +80,8 @@ namespace BizHawk.MultiClient public void AddWatch(Watch w) { watchList.Add(w); - DisplayWatchList(); UpdateValues(); + DisplayWatchList(); } private void LoadConfigSettings() @@ -497,6 +497,7 @@ namespace BizHawk.MultiClient ListView.SelectedIndexCollection indexes = WatchListView.SelectedIndices; if (indexes.Count > 0) EditWatchObject(indexes[0]); + UpdateValues(); } void RemoveWatch() @@ -512,6 +513,7 @@ namespace BizHawk.MultiClient indexes.Clear(); DisplayWatchList(); } + UpdateValues(); } void DuplicateWatch() @@ -532,6 +534,7 @@ namespace BizHawk.MultiClient DisplayWatchList(); } } + UpdateValues(); } void MoveUp()