From 9754afd4cd830cc92189437accab6abc2f5d2e84 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 20 Sep 2017 12:42:58 -0500 Subject: [PATCH] stave off an error --- SpriteLibrary/SpriteEntryForm.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index ade5e40..7f90650 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -741,5 +741,13 @@ namespace SpriteLibrary Close(); } } + + private void btnCancel_Click(object sender, EventArgs e) + { + if (PromptToApplyChangesAndContinue()) + { + Close(); + } + } } }