summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-07-18 06:32:23 +0000
committerJon A. Cruz <jon@joncruz.org>2010-07-18 06:32:23 +0000
commitd495877a1362d8af3246462fd48c1f1585c7addc (patch)
tree086eb0bd084002439f8bde01fe3094cb34166c1e /src/extension/system.cpp
parentForgot CMakeLists.txt, it's 0.48+devel as well now. (diff)
downloadinkscape-d495877a1362d8af3246462fd48c1f1585c7addc.tar.gz
inkscape-d495877a1362d8af3246462fd48c1f1585c7addc.zip
Correct the default for the save-as location to match the UI. Fixes bug #561375 (pending branch)
(bzr r9623)
Diffstat (limited to 'src/extension/system.cpp')
-rw-r--r--src/extension/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index 6ffa7f57f..5412a5cc0 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -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 {