Skip to content
Permalink
Browse files
fixed png export for images (like the title image)
  • Loading branch information
pw-ffx committed Nov 29, 2019
1 parent 538ae1d commit b65692e991722f3fbe0a58482088466ea61b294b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
@@ -512,7 +512,7 @@ private void pngButton_Click(object sender, EventArgs e)
SaveFileDialog dialog = new SaveFileDialog();
dialog.DefaultExt = ".png";
dialog.Filter = "Portable Network Graphic (*.png)|*.png";
dialog.FileName = Path.GetFileNameWithoutExtension(currentSprite.Entry.Filename);
if (currentSprite != null) dialog.FileName = Path.GetFileNameWithoutExtension(currentSprite.Entry.Filename);
if (dialog.ShowDialog() == DialogResult.OK)
{
currentBitmap.Save(dialog.FileName);
Binary file not shown.

0 comments on commit b65692e

Please sign in to comment.