From c3c5b5b0a1b280bcdbef8d38fde7f4e677fd8b2a Mon Sep 17 00:00:00 2001 From: cilix42 Date: Fri, 7 Aug 2009 02:47:16 +0000 Subject: [PATCH] Fix buglet: In the Save dialog the file extension should be automatically updated when it is changed from the dropdown box. --- src/ui/dialog/filedialogimpl-gtkmm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index 70f2f2ae5..749a67b28 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -1234,8 +1234,9 @@ void FileSaveDialogImplGtk::updateNameAndExtension() Inkscape::Extension::Output* newOut = extension ? dynamic_cast(extension) : 0; if ( fileTypeCheckbox.get_active() && newOut ) { - // Append the file extension if it's not already present + // Append the file extension if it's not already present and display it in the file name entry field appendExtension(myFilename, newOut); + change_path(myFilename); } } -- 2.30.2