From 1764f9bee905bcc27c3e9bb88f22f6510807a23d Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Sat, 21 Jul 2012 11:20:15 -0400 Subject: refresh sodipodi:docname when saving (Bug 1024690) Fixed bugs: - https://launchpad.net/bugs/1024690 (bzr r11562) --- src/document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document.cpp') diff --git a/src/document.cpp b/src/document.cpp index b2ee5103d..818558a94 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -714,7 +714,7 @@ void SPDocument::do_change_uri(gchar const *const filename, bool const rebase) Inkscape::XML::rebase_hrefs(this, new_base, true); } - repr->setAttribute("sodipodi:docname", this->name); + repr->setAttribute("sodipodi:docname", new_name); DocumentUndo::setUndoSensitive(this, saved); -- cgit v1.2.3