summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-node.h
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-node.h
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-node.h')
-rw-r--r--src/xml/simple-node.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h
index 8d0b25bf5..55cf3fd9c 100644
--- a/src/xml/simple-node.h
+++ b/src/xml/simple-node.h
@@ -38,9 +38,7 @@ class SimpleNode
public:
char const *name() const override;
int code() const override { return _name; }
- void setCodeUnsafe(int code) override {
- _name = code;
- }
+ void setCodeUnsafe(int code) override;
Document *document() override { return _document; }
Document const *document() const override {