Code

Fix buglet: In the Save dialog the file extension should be automatically updated...
[inkscape.git] / src / ui / dialog / filedialogimpl-gtkmm.cpp
index 70f2f2ae52edbdfd6862a1fa267e5e2fc8341029..749a67b288fbb31bf31a923675ea83f3348f26dd 100644 (file)
@@ -1234,8 +1234,9 @@ void FileSaveDialogImplGtk::updateNameAndExtension()
 
     Inkscape::Extension::Output* newOut = extension ? dynamic_cast<Inkscape::Extension::Output*>(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);
     }
 }