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)
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue