fix some flakiness in the cheat editor dialog. i can't describe it more precisely than that.

This commit is contained in:
zeromus 2015-10-15 01:21:05 -05:00
parent 105cd1c61f
commit 91f2d36a37
2 changed files with 5 additions and 6 deletions

View File

@ -63,11 +63,6 @@ namespace BizHawk.Client.EmuHawk
AddressBox.SetHexProperties(_cheat.Domain.Size);
NameBox.Text = _cheat.Name;
AddressBox.Text = _cheat.AddressStr;
ValueBox.Text = _cheat.ValueStr;
CompareBox.Text = _cheat.Compare.HasValue ? _cheat.CompareStr : String.Empty;
ValueBox.ByteSize =
CompareBox.ByteSize =
_cheat.Size;
@ -82,6 +77,11 @@ namespace BizHawk.Client.EmuHawk
BigEndianCheckBox.Checked = _cheat.BigEndian.Value;
NameBox.Text = _cheat.Name;
AddressBox.Text = _cheat.AddressStr;
ValueBox.Text = _cheat.ValueStr;
CompareBox.Text = _cheat.Compare.HasValue ? _cheat.CompareStr : String.Empty;
CheckFormState();
if (!_cheat.Compare.HasValue)
{

View File

@ -629,7 +629,6 @@ namespace BizHawk.Client.EmuHawk
private void CheatListView_Click(object sender, EventArgs e)
{
DoSelectedIndexChange();
}
private void CheatListView_DoubleClick(object sender, EventArgs e)