From: joncruz Date: Sat, 3 Mar 2007 06:09:04 +0000 (+0000) Subject: Add the file extension even when the prior name has no extension already X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9dc221b13d49cfa27ea296bd5a6d9a6c3e7a8248;p=inkscape.git Add the file extension even when the prior name has no extension already --- diff --git a/src/ui/dialog/filedialog.cpp b/src/ui/dialog/filedialog.cpp index 81404a2de..26f20b9e6 100644 --- a/src/ui/dialog/filedialog.cpp +++ b/src/ui/dialog/filedialog.cpp @@ -1243,6 +1243,9 @@ void FileSaveDialogImpl::fileTypeChangedCallback() } catch ( Glib::ConvertError& e ) { // ignore } + } else { + myFilename = myFilename + newOut->get_extension(); + change_path(myFilename); } } }