summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-07-21 15:20:15 +0000
committerapenner <penner@vaxxine.com>2012-07-21 15:20:15 +0000
commit1764f9bee905bcc27c3e9bb88f22f6510807a23d (patch)
tree5f7a10b747fa3a6d1571a545968d8be9398ff0bd /src/document.cpp
parentFix for 816496 : Alt+mouse wheel z-order cycling, add option to cycle wrap (diff)
downloadinkscape-1764f9bee905bcc27c3e9bb88f22f6510807a23d.tar.gz
inkscape-1764f9bee905bcc27c3e9bb88f22f6510807a23d.zip
refresh sodipodi:docname when saving (Bug 1024690)
Fixed bugs: - https://launchpad.net/bugs/1024690 (bzr r11562)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
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);