Hex Editor - fix inability to paste into find box when in hex mode
This commit is contained in:
parent
4dbab90b87
commit
64419fa501
|
@ -76,13 +76,13 @@ namespace BizHawk.MultiClient
|
|||
|
||||
private void FindBox_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if (e.KeyChar == '\b')
|
||||
if (HexRadio.Checked)
|
||||
{
|
||||
if (e.KeyChar == '\b' || e.KeyChar == 22)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (HexRadio.Checked)
|
||||
{
|
||||
if (!InputValidate.IsValidHexNumber(e.KeyChar))
|
||||
else if (!InputValidate.IsValidHexNumber(e.KeyChar))
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue