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.Show();
progressBar.Refresh(); progressBar.Refresh();
if (ArrayCount > 1 && !ExportSurfaceLevel && false) if (ArrayCount > 1 && !ExportSurfaceLevel)
{
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)
{ {
string ext = Path.GetExtension(FileName); string ext = Path.GetExtension(FileName);
@ -997,7 +991,6 @@ namespace Toolbox.Library
progressBar.Close(); progressBar.Close();
return; return;
} }
}
progressBar.Task = $"Decoding image {Text}... "; progressBar.Task = $"Decoding image {Text}... ";
progressBar.Value = 20; progressBar.Value = 20;