mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed #45
This commit is contained in:
parent
598006d735
commit
9fde277705
1 changed files with 1 additions and 1 deletions
|
|
@ -1049,13 +1049,13 @@ private void NewMainMenu_Click(object sender, EventArgs e)
|
|||
}
|
||||
else
|
||||
{
|
||||
saveFileDialog.FileName = "Unnamed.cnp";
|
||||
if (saveFileDialog.ShowDialog() != DialogResult.OK)
|
||||
{
|
||||
TypedPassword.Value = null;
|
||||
return;
|
||||
}
|
||||
richTextBox.Clear();
|
||||
saveFileDialog.FileName = "Unnamed.cnp";
|
||||
PublicVar.encryptionKey.Set(TypedPassword.Value);
|
||||
StreamWriter sw = new StreamWriter(saveFileDialog.FileName);
|
||||
Text = Path.GetFileName(saveFileDialog.FileName) + " – " + PublicVar.appName;
|
||||
|
|
|
|||
Loading…
Reference in a new issue