Hex Editor - fix text search in the find box

This commit is contained in:
adelikat 2015-04-01 13:59:40 +00:00
parent 9fef38dfd6
commit c01bd0d5ef
1 changed files with 20 additions and 7 deletions

View File

@ -75,6 +75,9 @@ namespace BizHawk.Client.EmuHawk
Controls.Remove(FindBox);
if (HexRadio.Checked)
{
FindBox = new HexTextBox
{
CharacterCasing = CharacterCasing.Upper,
@ -83,6 +86,16 @@ namespace BizHawk.Client.EmuHawk
Size = size,
Location = location
};
}
else
{
FindBox = new TextBox
{
Text = text,
Size = size,
Location = location
};
}
Controls.Add(FindBox);
}