Set default extensions for most save files

In most of these cases, the open file dialog won't even display a file
without the proper extension, so this helps ensure the user doesn't
accidentally misplace their files. The one exception is *.rdc, which
could be found without the extension, but could not be opened.
This commit is contained in:
Cory Bloor authored and Baldur Karlsson committed 2017-10-11 03:26:17 -07:00
1 parent 87a587cc98
commit 6f21bacd82
7 files changed
+13 -10

No files matched your search

@@ -526,8 +526,8 @@ void TextureSaveDialog::on_browse_clicked()
QString *selectedFilter = NULL;
QString filename =
RDDialog::getSaveFileName(this, tr("Save Texture As"), QString(), filter, selectedFilter);
QString filename = RDDialog::getSaveFileName(this, tr("Save Texture As"), QString(), filter,
QString(), selectedFilter);
QFileInfo checkFile(filename);
if(!filename.isEmpty())