1
0
mirror of synced 2024-09-24 03:28:21 +02:00

More adjustments

This commit is contained in:
KillzXGaming 2019-05-18 18:37:05 -04:00
parent fe4a560a6a
commit 82d68152f9
7 changed files with 1 additions and 3 deletions

Binary file not shown.

View File

@ -1114,7 +1114,7 @@ namespace FirstPlugin
byte[] Tex2 = GenerateTex2();
SaveFileDialog sfd = new SaveFileDialog();
sfd.FileName = FileName.Replace("Tex1", "Tex2");
sfd.FileName = Path.GetFileName(FileName.Replace("Tex1", "Tex2"));
sfd.DefaultExt = ".sbfres";
List<IFileFormat> formats = new List<IFileFormat>();

View File

@ -420,7 +420,6 @@ namespace Toolbox
}
Cursor.Current = Cursors.WaitCursor;
if (format is STGenericWrapper)
{
((STGenericWrapper)format).Export(FileName);
@ -428,7 +427,6 @@ namespace Toolbox
}
STFileSaver.SaveFileFormat(((IFileFormat)node), FileName, UseCompressDialog);
Cursor.Current = Cursors.Default;
}
}