Removed cancel option from invalid entry prompt

This commit is contained in:
MattN-L
2024-03-05 11:23:16 -05:00
parent 4809f6a71f
commit 11fe0e1ff1

View File

@@ -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;
}