Hex Editor - Find Box - fix behavior of the enter button
This commit is contained in:
parent
c41851e877
commit
8dfcf8deec
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue