From 659f2c418470f40ce192b8e28b457dbc896e2735 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 9 Nov 2019 21:36:11 +0200 Subject: [PATCH] Fixed bug with wrong text position in title bar while "Save As" file --- Crypto Notepad/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index d1ac008..1269e0d 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -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);