From 040a70d18108413b251872c2770fcbacaa891fe1 Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Sun, 24 Jan 2016 23:06:50 +0200 Subject: [PATCH] Improved text change detection --- Crypto Notepad/Form1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Crypto Notepad/Form1.cs b/Crypto Notepad/Form1.cs index 3a8f02a..90b0118 100644 --- a/Crypto Notepad/Form1.cs +++ b/Crypto Notepad/Form1.cs @@ -252,6 +252,7 @@ private void MainWindow_FormClosing(object sender, FormClosingEventArgs e) ps.Save(); + if (customRTB.Modified == true) { string f = "Unnamed.cnp"; string NameWithotPath;