Fix exporting multiple arrays

This commit is contained in:
KillzXGaming 2023-11-05 14:13:26 -05:00
parent d50379879f
commit 14fa40193a

View file

@ -969,13 +969,7 @@ namespace Toolbox.Library
progressBar.Show();
progressBar.Refresh();
if (ArrayCount > 1 && !ExportSurfaceLevel && false)
{
progressBar.Task = "Select dialog option... ";
var result = MessageBox.Show("Multiple image surfaces found! Would you like to export them all?", "Image Exporter",
MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
if (result == DialogResult.Yes)
if (ArrayCount > 1 && !ExportSurfaceLevel)
{
string ext = Path.GetExtension(FileName);
@ -997,7 +991,6 @@ namespace Toolbox.Library
progressBar.Close();
return;
}
}
progressBar.Task = $"Decoding image {Text}... ";
progressBar.Value = 20;