From 9dc221b13d49cfa27ea296bd5a6d9a6c3e7a8248 Mon Sep 17 00:00:00 2001 From: joncruz Date: Sat, 3 Mar 2007 06:09:04 +0000 Subject: [PATCH] Add the file extension even when the prior name has no extension already --- src/ui/dialog/filedialog.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); } } } -- 2.30.2