Hex Editor - fix inability to paste into find box when in hex mode

This commit is contained in:
adelikat 2012-09-09 04:11:51 +00:00
parent 4dbab90b87
commit 64419fa501
1 changed files with 6 additions and 6 deletions

View File

@ -76,13 +76,13 @@ namespace BizHawk.MultiClient
private void FindBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '\b')
if (HexRadio.Checked)
{
return;
}
else if (HexRadio.Checked)
{
if (!InputValidate.IsValidHexNumber(e.KeyChar))
if (e.KeyChar == '\b' || e.KeyChar == 22)
{
return;
}
else if (!InputValidate.IsValidHexNumber(e.KeyChar))
{
e.Handled = true;
}