summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.cpp3
1 files changed, 2 insertions, 1 deletions
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<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);
}
}