Update image editor properly in archive previewer
This commit is contained in:
parent
0384191687
commit
26de867fa9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -230,6 +230,7 @@ namespace Switch_Toolbox.Library.Forms
|
|||||||
Texture.Replace(ofd.FileName);
|
Texture.Replace(ofd.FileName);
|
||||||
|
|
||||||
ReloadTexture(Texture, item);
|
ReloadTexture(Texture, item);
|
||||||
|
LoadImageEditor((STGenericTexture)item.Tag, ((STGenericTexture)item.Tag).GenericProperties);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -267,8 +268,7 @@ namespace Switch_Toolbox.Library.Forms
|
|||||||
ReloadTexture(e.ReplacedTexture, ActiveItem);
|
ReloadTexture(e.ReplacedTexture, ActiveItem);
|
||||||
listViewCustom1.Refresh();
|
listViewCustom1.Refresh();
|
||||||
|
|
||||||
if (imageEditorForm != null)
|
LoadImageEditor((STGenericTexture)ActiveItem.Tag, ((STGenericTexture)ActiveItem.Tag).GenericProperties);
|
||||||
imageEditorForm.LoadImage((STGenericTexture)ActiveItem.Tag);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void listViewCustom1_DoubleClick(object sender, EventArgs e)
|
private void listViewCustom1_DoubleClick(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user