mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed #22
This commit is contained in:
parent
7268898afb
commit
5e68ef592f
1 changed files with 5 additions and 0 deletions
|
|
@ -675,6 +675,11 @@ private void MainWindow_FormClosing(object sender, FormClosingEventArgs e)
|
|||
ps.Save();
|
||||
SaveConfirm(true);
|
||||
|
||||
if (CustomRTB.Text == "")
|
||||
{
|
||||
noExit = false;
|
||||
}
|
||||
|
||||
if (noExit)
|
||||
{
|
||||
e.Cancel = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue