diff options
| author | penginsbacon <> | 2014-03-15 07:24:37 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2014-03-15 07:24:37 +0000 |
| commit | 550eaa7214327d19dcdb0aefdce367e25490021e (patch) | |
| tree | 5ff6897e54b208b2a064a0177ce40ba7e7b5f229 /src/file.cpp | |
| parent | Make the Object Properties dialog code adhere to the coding style. (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
