Fixed bug with wrong text position in title bar while "Save As" file

This commit is contained in:
Alexander 2019-11-09 21:36:11 +02:00
parent 5030aa9274
commit 659f2c4184

View file

@ -1193,7 +1193,7 @@ private async void SaveAsMainMenu_Click(object sender, EventArgs e)
toolbarPanel.Enabled = true;
richTextBox.ReadOnly = false;
richTextBox.Modified = false;
Text = PublicVar.appName + " " + Path.GetFileName(filePath);
Text = Path.GetFileName(filePath) + " " + PublicVar.appName;
PublicVar.encryptionKey.Set(TypedPassword.Value);
TypedPassword.Value = null;
PublicVar.openFileName = Path.GetFileName(saveFileDialog.FileName);