1
0
mirror of synced 2024-09-24 11:38:22 +02:00

Update image editor properly in archive previewer

This commit is contained in:
KillzXGaming 2019-06-12 17:55:03 -04:00
parent 0384191687
commit 26de867fa9
5 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -230,6 +230,7 @@ namespace Switch_Toolbox.Library.Forms
Texture.Replace(ofd.FileName);
ReloadTexture(Texture, item);
LoadImageEditor((STGenericTexture)item.Tag, ((STGenericTexture)item.Tag).GenericProperties);
}
}
@ -267,8 +268,7 @@ namespace Switch_Toolbox.Library.Forms
ReloadTexture(e.ReplacedTexture, ActiveItem);
listViewCustom1.Refresh();
if (imageEditorForm != null)
imageEditorForm.LoadImage((STGenericTexture)ActiveItem.Tag);
LoadImageEditor((STGenericTexture)ActiveItem.Tag, ((STGenericTexture)ActiveItem.Tag).GenericProperties);
}
private void listViewCustom1_DoubleClick(object sender, EventArgs e)