mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-25 14:00:21 +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.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;
|
||||||
|
|
Loading…
Reference in a new issue