mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix exporting multiple arrays
This commit is contained in:
parent
d50379879f
commit
14fa40193a
1 changed files with 16 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue