Skip to content

Commit

Permalink
[gui_save] Filter file dialog for jpg when saving a selection as JPEG…
Browse files Browse the repository at this point in the history
… images, Qt rejects filenames without extension on Windows
  • Loading branch information
eumagga0x2a committed Jul 12, 2020
1 parent 2ee249d commit 6b0357e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions avidemux/common/gui_save.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,11 @@ void HandleAction_Save(Action action)
break;

case ACT_SAVE_BUNCH_OF_JPG:
GUI_FileSelWrite (QT_TRANSLATE_NOOP("adm","Select JPEG Sequence to Save"), (SELFILE_CB *)A_saveBunchJpg);
break;
{
const char *defaultExtension="jpg";
GUI_FileSelWriteExtension (QT_TRANSLATE_NOOP("adm","Select JPEG Sequence to Save"),defaultExtension,(SELFILE_CB *)A_saveBunchJpg);
}
break;
case ACT_SAVE_BMP:
{
const char *defaultExtension="bmp";
Expand Down

0 comments on commit 6b0357e

Please sign in to comment.