mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Closing search panel when file locked
This commit is contained in:
parent
551c554731
commit
c6d71572dc
1 changed files with 5 additions and 0 deletions
|
|
@ -1632,6 +1632,11 @@ private void FileLockedPanel_VisibleChanged(object sender, EventArgs e)
|
||||||
dropDownItem.Enabled = false;
|
dropDownItem.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (searchPanel.Visible)
|
||||||
|
{
|
||||||
|
searchTextBox.Text = "";
|
||||||
|
searchPanel.Visible = false;
|
||||||
|
}
|
||||||
PublicVar.encryptionKey.Set(null);
|
PublicVar.encryptionKey.Set(null);
|
||||||
caretPos = richTextBox.SelectionStart;
|
caretPos = richTextBox.SelectionStart;
|
||||||
richTextBox.Visible = false;
|
richTextBox.Visible = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue