mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 18:54:34 +00:00
Removed cancel option from invalid entry prompt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user