From 7a6a1baa2b891c16edd7fbb86be3179f92adaee2 Mon Sep 17 00:00:00 2001 From: Joseph Da Silva Date: Wed, 20 Mar 2019 21:22:46 +0530 Subject: Fixed: circles and ellipses had wrong element names in XML editor (Issue #116) --- src/xml/simple-document.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/xml/simple-document.cpp') 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: -- cgit v1.2.3