From 550eaa7214327d19dcdb0aefdce367e25490021e Mon Sep 17 00:00:00 2001 From: penginsbacon <> Date: Sat, 15 Mar 2014 08:24:37 +0100 Subject: Saving. Fix for Bug #529843 (save a copy reverts to save as) by Tomasz Boczkowski. Fixed bugs: - https://launchpad.net/bugs/529843 (bzr r13154) --- src/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file.cpp') 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; -- cgit v1.2.3