Ram Search - update values when clicking undo or redo

This commit is contained in:
adelikat 2013-10-25 14:50:45 +00:00
parent ba6102b160
commit ea192e697e
1 changed files with 8 additions and 0 deletions

View File

@ -1160,6 +1160,10 @@ namespace BizHawk.MultiClient
if (Searches.CanUndo) if (Searches.CanUndo)
{ {
Searches.Undo(); Searches.Undo();
SetTotal();
WatchListView.ItemCount = Searches.Count;
ToggleSearchDependentToolBarItems();
forcePreviewClear = true;
UpdateUndoToolBarButtons(); UpdateUndoToolBarButtons();
} }
} }
@ -1169,6 +1173,10 @@ namespace BizHawk.MultiClient
if (Searches.CanRedo) if (Searches.CanRedo)
{ {
Searches.Redo(); Searches.Redo();
SetTotal();
WatchListView.ItemCount = Searches.Count;
ToggleSearchDependentToolBarItems();
forcePreviewClear = true;
UpdateUndoToolBarButtons(); UpdateUndoToolBarButtons();
} }
} }