From 11fe0e1ff1ff3ca27d124fc0fe8b89250f058102 Mon Sep 17 00:00:00 2001 From: MattN-L Date: Tue, 5 Mar 2024 11:23:16 -0500 Subject: [PATCH] Removed cancel option from invalid entry prompt --- PCK-Studio/Forms/Editor/MaterialsEditor.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PCK-Studio/Forms/Editor/MaterialsEditor.cs b/PCK-Studio/Forms/Editor/MaterialsEditor.cs index c1364ab3..614487e1 100644 --- a/PCK-Studio/Forms/Editor/MaterialsEditor.cs +++ b/PCK-Studio/Forms/Editor/MaterialsEditor.cs @@ -83,8 +83,7 @@ namespace PckStudio.Forms.Editor if (materialFile.hasInvalidEntries()) { - DialogResult dr = MessageBox.Show(this, "Unsupported entities were found in this file. Would you like to display them?", "Invalid data found", MessageBoxButtons.YesNoCancel); - if(dr == DialogResult.Cancel) Close(); + DialogResult dr = MessageBox.Show(this, "Unsupported entities were found in this file. Would you like to display them?", "Invalid data found", MessageBoxButtons.YesNo); showInvalidEntries = dr == DialogResult.Yes; }