summaryrefslogtreecommitdiffstats
path: root/src/sp-tag-use.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-11 18:23:10 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-11 18:23:10 +0000
commit1f1932ae4592c8f316e3a68ac86874bf87f321c4 (patch)
tree704707febbd39ec2f66305679ced762b33f898af /src/sp-tag-use.cpp
parentAdd selection sets (diff)
downloadinkscape-1f1932ae4592c8f316e3a68ac86874bf87f321c4.tar.gz
inkscape-1f1932ae4592c8f316e3a68ac86874bf87f321c4.zip
Stabilize the selection set system a bit
(bzr r13090.1.76)
Diffstat (limited to 'src/sp-tag-use.cpp')
-rw-r--r--src/sp-tag-use.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-tag-use.cpp b/src/sp-tag-use.cpp
index ffcfcee3e..5851598f2 100644
--- a/src/sp-tag-use.cpp
+++ b/src/sp-tag-use.cpp
@@ -175,6 +175,7 @@ SPTagUse::href_changed(SPObject */*old_ref*/, SPObject */*ref*/)
SPObject* child_ = SPFactory::instance().createObject(typeString);
if (child_) {
+ child = child_;
attach(child_, lastChild());
sp_object_unref(child_, 0);
child_->invoke_build(this->document, childrepr, TRUE);