summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-08-28 22:14:20 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-08-29 16:35:27 +0000
commita8d586f25d06ce66420f9d09fcaf959d7cbd3189 (patch)
tree86ea44da74e95373aeb22cf20658dbdc1eeabd2c /src/style-internal.cpp
parentDocument Properties Grid tab keeps current position (diff)
downloadinkscape-a8d586f25d06ce66420f9d09fcaf959d7cbd3189.tar.gz
inkscape-a8d586f25d06ce66420f9d09fcaf959d7cbd3189.zip
Noumerous bugfixes pointed in Rocket Chat
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 5ea806b89..6c66e44b6 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -2847,7 +2847,11 @@ const Glib::ustring SPIVectorEffect::get_value() const
if (this->size) ret += " non-scaling-size";
if (this->rotate) ret += " non-rotation";
if (this->fixed) ret += " fixed-position";
- if (ret.empty()) ret += "none";
+ if (ret.empty()) {
+ ret += "none";
+ } else {
+ ret.erase(0,1);
+ }
return ret;
}