More adjustments
This commit is contained in:
parent
fe4a560a6a
commit
82d68152f9
Binary file not shown.
@ -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>();
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user