Fixed bug with the search panel

Fixed bug: when you open a new file with the opened search panel, all
the text becomes highlighted.
This commit is contained in:
Sigmanor 2016-01-27 18:41:38 +02:00
parent b77fe02a0f
commit 74a35540c3

View file

@ -75,7 +75,10 @@ void DecryptAES()
return;
}
publicVar.okPressed = false;
if (panel1.Visible == true)
{
findToolStripMenuItem2_Click(this, new EventArgs());
}
try
{
string opnfile = File.ReadAllText(OpenFile.FileName);