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,14 +75,27 @@ namespace BizHawk.Client.EmuHawk
Controls.Remove(FindBox); Controls.Remove(FindBox);
FindBox = new HexTextBox if (HexRadio.Checked)
{ {
CharacterCasing = CharacterCasing.Upper,
Nullable = HexRadio.Checked, FindBox = new HexTextBox
Text = text, {
Size = size, CharacterCasing = CharacterCasing.Upper,
Location = location Nullable = HexRadio.Checked,
}; Text = text,
Size = size,
Location = location
};
}
else
{
FindBox = new TextBox
{
Text = text,
Size = size,
Location = location
};
}
Controls.Add(FindBox); Controls.Add(FindBox);
} }