summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2019-03-20 18:07:04 +0000
committerMartin Owens <doctormo@gmail.com>2019-03-20 18:07:04 +0000
commit3248c4cf747dc0c3e733c062375ae97b2a4e9e47 (patch)
tree8d2802ee94cff4590f179da7214e098e7095c3be /src/xml/simple-document.cpp
parentDisable GTK3's motion event compression which was making drawing lag. (diff)
parentAdd explicit overrides (diff)
downloadinkscape-3248c4cf747dc0c3e733c062375ae97b2a4e9e47.tar.gz
inkscape-3248c4cf747dc0c3e733c062375ae97b2a4e9e47.zip
Fix #116: Wrong element names shown in XML editor for circles and ellipses
Diffstat (limited to 'src/xml/simple-document.cpp')
-rw-r--r--src/xml/simple-document.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp
index d7a3d84db..c1227ac08 100644
--- a/src/xml/simple-document.cpp
+++ b/src/xml/simple-document.cpp
@@ -115,9 +115,15 @@ void SimpleDocument::notifyAttributeChanged(Node &node,
}
}
+void SimpleDocument::notifyElementNameChanged(Node& node, GQuark old_name, GQuark new_name)
+{
+ if (_in_transaction) {
+ _log_builder.setElementName(node, old_name, new_name);
+ }
}
-}
+} // end namespace XML
+} // end namespace Inkscape
/*
Local Variables: