From 686ff7b7805ae2112b9d5da7637e387ab7994c41 Mon Sep 17 00:00:00 2001 From: Anton Mukhin Date: Tue, 8 Jul 2025 10:56:17 +0300 Subject: [PATCH] Bug fixed: Fixed "Frame modified" check. It leaves modified flag if user refused to save changes. --- McBitFont/Form1.cs | 2 +- TODO.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/McBitFont/Form1.cs b/McBitFont/Form1.cs index 00d01b2..44fb827 100644 --- a/McBitFont/Form1.cs +++ b/McBitFont/Form1.cs @@ -1195,8 +1195,8 @@ namespace McBitFont { if (modified) { if (MessageBox.Show("Current symbol is modified.\nDo you want to save the changes?", "Symbol was modified!", MessageBoxButtons.YesNo) == DialogResult.Yes) { SaveFrame(); + SetModified(false); } - SetModified(false); } } diff --git a/TODO.txt b/TODO.txt index 814c125..0869a62 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,4 +6,4 @@ V Show note field in Export comments V When Rectangle selection tool is active hold Ctrl+Alt to temporary disable it to be able to draw Bugs: - +V Fixed "Frame modified" check. It leaves modified flag if user refused to save changes.