summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-26 09:46:39 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-26 09:46:39 +0000
commitac6617a55b9f7c05db084eeaa5684fb42d5e1406 (patch)
tree1fc8e668890618463d48298074559c7fe6bc5040 /src/splivarot.cpp
parentmerge (diff)
parentextensions. ink2canvas.py - do not parse html comments. (Bug 1446204) (diff)
downloadinkscape-ac6617a55b9f7c05db084eeaa5684fb42d5e1406.tar.gz
inkscape-ac6617a55b9f7c05db084eeaa5684fb42d5e1406.zip
merging
(bzr r13922.1.13)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index c668199c0..a04dedda9 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1717,7 +1717,9 @@ void sp_selected_path_create_offset_object(SPDesktop *desktop, int expand, bool
if ( !updating ) {
// delete original, apply the transform to the offset
+ const char *n_id = item->getRepr()->attribute("id");
item->deleteObject(false);
+ repr->setAttribute("id", n_id);
nitem->doWriteTransform(repr, transform);
}