Ram Search - a minor code refactor - remove a functional call that is only used once in another function and just do the code there
This commit is contained in:
parent
698e080312
commit
153e823f78
|
@ -891,15 +891,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ToggleAutoSearch()
|
|
||||||
{
|
|
||||||
_autoSearch ^= true;
|
|
||||||
AutoSearchCheckBox.Checked = _autoSearch;
|
|
||||||
DoSearchToolButton.Enabled =
|
|
||||||
SearchButton.Enabled =
|
|
||||||
!_autoSearch;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GoToSpecifiedAddress()
|
private void GoToSpecifiedAddress()
|
||||||
{
|
{
|
||||||
WatchListView.SelectedIndices.Clear();
|
WatchListView.SelectedIndices.Clear();
|
||||||
|
@ -1289,7 +1280,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
private void AutoSearchMenuItem_Click(object sender, EventArgs e)
|
private void AutoSearchMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ToggleAutoSearch();
|
_autoSearch ^= true;
|
||||||
|
AutoSearchCheckBox.Checked = _autoSearch;
|
||||||
|
DoSearchToolButton.Enabled =
|
||||||
|
SearchButton.Enabled =
|
||||||
|
!_autoSearch;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ExcludeRamWatchMenuItem_Click(object sender, EventArgs e)
|
private void ExcludeRamWatchMenuItem_Click(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue