mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Encryption key now can't be empty
This commit is contained in:
parent
6bba0f92e5
commit
df53a93ad4
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ private void textBox1_TextChanged(object sender, EventArgs e)
|
|||
|
||||
private void textBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
if (e.KeyCode == Keys.Enter && button1.Enabled)
|
||||
{
|
||||
button1_Click(sender, e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue