Skip to content

Commit

Permalink
fix #21867: Foto mode > Save As does not recognize uppercase file ext…
Browse files Browse the repository at this point in the history
…ensions
  • Loading branch information
lasconic committed Jul 17, 2013
1 parent 247519c commit cd25a5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mscore/fotomode.cpp
Expand Up @@ -737,7 +737,8 @@ bool ScoreView::saveFotoAs(bool printMode, const QRectF& r)
return false;
}

if (fi.suffix() != ext)
ext = ext.toLower();
if (fi.suffix().toLower() != ext)
fn += "." + ext;

bool transparent = preferences.pngTransparent;
Expand Down

0 comments on commit cd25a5c

Please sign in to comment.