summaryrefslogtreecommitdiffstats
path: root/src/style-internal.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-03-12 09:48:20 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-03-12 09:48:20 +0000
commit415994325e9bd1dd2470522280c0919addc7244d (patch)
tree830098c2c5fff5e13032a2ca902631f343e8c21f /src/style-internal.h
parentUpdate attribute tables for 'font-variation-settings'. (diff)
downloadinkscape-415994325e9bd1dd2470522280c0919addc7244d.tar.gz
inkscape-415994325e9bd1dd2470522280c0919addc7244d.zip
Fix bug that prevented changing 'font-variation-settings' setting.
Diffstat (limited to 'src/style-internal.h')
-rw-r--r--src/style-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style-internal.h b/src/style-internal.h
index c41fe2191..5d54df5b5 100644
--- a/src/style-internal.h
+++ b/src/style-internal.h
@@ -144,7 +144,6 @@ public:
bool has_important = false;
Glib::ustring stripped = strip_important(str, has_important); // Sets 'has_important'
-
// '!important' is invalid on attributes, don't read.
if (source == SP_STYLE_SRC_ATTRIBUTE && has_important){
return;
@@ -512,7 +511,8 @@ public:
SPStyleSrc const &style_src_req = SP_STYLE_SRC_STYLE_PROP,
SPIBase const *const base = NULL ) const;
virtual void clear() {
- axes.empty();
+ SPIBase::clear();
+ axes.clear();
normal = true;
}