private void HashBox_Altered()
{
TPFTexInfo tex;
int index = GetSelectedTex(out tex);
if (index < 0)
return;
// Set length of things
if (HashTextBox.Text.Length != 10)
return;
DebugOutput.PrintLn("Updating hash for texture: " + Path.GetFileName(tex.FileName) + " to: " + HashTextBox.Text);
UpdateHashAndReplace(tex, index, HashTextBox.Text);
DisplayInfo(tex);
}