summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.cpp
diff options
context:
space:
mode:
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: