From ea192e697ed53cd18ef614d44a3984b3796d4bae Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 25 Oct 2013 14:50:45 +0000 Subject: [PATCH] Ram Search - update values when clicking undo or redo --- BizHawk.MultiClient/tools/Watch/RamSearch.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BizHawk.MultiClient/tools/Watch/RamSearch.cs b/BizHawk.MultiClient/tools/Watch/RamSearch.cs index e02b91a1c4..335e5c5ae0 100644 --- a/BizHawk.MultiClient/tools/Watch/RamSearch.cs +++ b/BizHawk.MultiClient/tools/Watch/RamSearch.cs @@ -1160,6 +1160,10 @@ namespace BizHawk.MultiClient if (Searches.CanUndo) { Searches.Undo(); + SetTotal(); + WatchListView.ItemCount = Searches.Count; + ToggleSearchDependentToolBarItems(); + forcePreviewClear = true; UpdateUndoToolBarButtons(); } } @@ -1169,6 +1173,10 @@ namespace BizHawk.MultiClient if (Searches.CanRedo) { Searches.Redo(); + SetTotal(); + WatchListView.ItemCount = Searches.Count; + ToggleSearchDependentToolBarItems(); + forcePreviewClear = true; UpdateUndoToolBarButtons(); } }