Ram Search - update values when clicking undo or redo
This commit is contained in:
parent
ba6102b160
commit
ea192e697e
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue