summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:10:06 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:10:06 +0000
commitb4e2b53ff72280b9b3f1d902bd6a39dcb2761baf (patch)
tree90ccefcb9b692d95c4837de089ed2d154f7677fa /src/splivarot.cpp
parentUpdate to new simplify (diff)
parentLatvian translation update (diff)
downloadinkscape-b4e2b53ff72280b9b3f1d902bd6a39dcb2761baf.tar.gz
inkscape-b4e2b53ff72280b9b3f1d902bd6a39dcb2761baf.zip
update to trunk
(bzr r13973.1.10)
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 8bb3e9897..46279cbce 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1727,7 +1727,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);
}