From 4f80a5df1b7637d0941815e1a9c44183dfffd74a Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Tue, 27 May 2025 04:27:39 +0300 Subject: [PATCH] Check if frame changed before exit application --- McBitFont/Form1.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/McBitFont/Form1.cs b/McBitFont/Form1.cs index 56d8659..05addd3 100644 --- a/McBitFont/Form1.cs +++ b/McBitFont/Form1.cs @@ -1090,6 +1090,7 @@ namespace McBitFont { } private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { + CheckModifiedFrame(); if (prjModified) { if (MessageBox.Show("The project is modified.\nAre you sure you want to quit?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { e.Cancel = true;