mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed bug with wrong text position in title bar while "Save As" file
This commit is contained in:
parent
5030aa9274
commit
659f2c4184
1 changed files with 1 additions and 1 deletions
|
|
@ -1193,7 +1193,7 @@ private async void SaveAsMainMenu_Click(object sender, EventArgs e)
|
||||||
toolbarPanel.Enabled = true;
|
toolbarPanel.Enabled = true;
|
||||||
richTextBox.ReadOnly = false;
|
richTextBox.ReadOnly = false;
|
||||||
richTextBox.Modified = false;
|
richTextBox.Modified = false;
|
||||||
Text = PublicVar.appName + " – " + Path.GetFileName(filePath);
|
Text = Path.GetFileName(filePath) + " – " + PublicVar.appName;
|
||||||
PublicVar.encryptionKey.Set(TypedPassword.Value);
|
PublicVar.encryptionKey.Set(TypedPassword.Value);
|
||||||
TypedPassword.Value = null;
|
TypedPassword.Value = null;
|
||||||
PublicVar.openFileName = Path.GetFileName(saveFileDialog.FileName);
|
PublicVar.openFileName = Path.GetFileName(saveFileDialog.FileName);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue