summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorpenginsbacon <>2014-03-15 07:24:37 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-03-15 07:24:37 +0000
commit550eaa7214327d19dcdb0aefdce367e25490021e (patch)
tree5ff6897e54b208b2a064a0177ce40ba7e7b5f229 /src/file.cpp
parentMake the Object Properties dialog code adhere to the coding style. (diff)
downloadinkscape-550eaa7214327d19dcdb0aefdce367e25490021e.tar.gz
inkscape-550eaa7214327d19dcdb0aefdce367e25490021e.zip
Saving. Fix for Bug #529843 (save a copy reverts to save as) by Tomasz Boczkowski.
Fixed bugs: - https://launchpad.net/bugs/529843 (bzr r13154)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 55892fffe..6c8c5ff85 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -690,7 +690,7 @@ file_save(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ustring &uri,
SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
return FALSE;
} catch (Inkscape::Extension::Output::no_overwrite &e) {
- return sp_file_save_dialog(parentWindow, doc, Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS);
+ return sp_file_save_dialog(parentWindow, doc, save_method);
} catch (...) {
SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
return FALSE;