More cleanup

This commit is contained in:
KillzXGaming 2019-06-09 14:23:44 -04:00
parent a336e711f1
commit 7bd1abf12a
7 changed files with 6 additions and 0 deletions

Binary file not shown.

View file

@ -204,6 +204,8 @@ namespace FirstPlugin
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = ReplaceFilter;
ofd.FileName = Text;
ofd.Multiselect = false;
if (ofd.ShowDialog() == DialogResult.OK)

View file

@ -203,6 +203,7 @@ namespace Switch_Toolbox.Library.Forms
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = Texture.ExportFilter;
sfd.FileName = Texture.Text;
if (sfd.ShowDialog() == DialogResult.OK)
{
@ -260,6 +261,9 @@ namespace Switch_Toolbox.Library.Forms
{
ReloadTexture(e.ReplacedTexture, ActiveItem);
listViewCustom1.Refresh();
if (imageEditorForm != null)
imageEditorForm.UpdateMipDisplay();
}
private void listViewCustom1_DoubleClick(object sender, EventArgs e)