diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index 1bb899f..e18df3c 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -723,7 +723,7 @@ private void MainForm_Shown(object sender, EventArgs e) richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0); richTextBox.Modified = false; - if (!File.Exists("Crypto Notepad.settings")) + if (!File.Exists(AppDomain.CurrentDomain.BaseDirectory + "Crypto Notepad.settings")) { using (new CenterWinDialog(this)) {