Hex Editor - Find Box - fix behavior of the enter button

This commit is contained in:
adelikat 2016-02-15 20:13:12 -05:00
parent c41851e877
commit 8dfcf8deec
1 changed files with 7 additions and 1 deletions

View File

@ -114,7 +114,8 @@ namespace BizHawk.Client.EmuHawk
{ {
if (e.KeyData == Keys.Enter) if (e.KeyData == Keys.Enter)
{ {
GlobalWin.Tools.HexEditor.FindNext(GetFindBoxChars(), false); Find_Next_Click(null, null);
e.Handled = true;
} }
} }
@ -125,6 +126,11 @@ namespace BizHawk.Client.EmuHawk
e.Handled = true; e.Handled = true;
Close(); Close();
} }
else if (e.KeyData == Keys.Enter)
{
Find_Next_Click(null, null);
e.Handled = true;
}
} }
} }
} }