Code

Correct the default for the save-as location to match the UI. Fixes bug #561375 ...
[inkscape.git] / src / extension / system.cpp
index 6ffa7f57f8428b6c3c60edf4efa48390c2e18b0a..5412a5cc0b2a5de3c9e59cbcefa8060917be3016 100644 (file)
@@ -589,7 +589,7 @@ get_file_save_path (SPDocument *doc, FileSaveMethod method) {
     switch (method) {
         case FILE_SAVE_METHOD_SAVE_AS:
         {
-            bool use_current_dir = prefs->getBool("/dialogs/save_as/use_current_dir");
+            bool use_current_dir = prefs->getBool("/dialogs/save_as/use_current_dir", true);
             if (doc->uri && use_current_dir) {
                 path = Glib::path_get_dirname(doc->uri);
             } else {