summaryrefslogtreecommitdiffstats
path: root/src/io/file.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-06-19 13:59:29 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-08 21:04:13 +0000
commitaf9c8d266f97d9ae17f13ee42f3078a85371b38c (patch)
treeb34991e98958d476c9d13a64a368ae083ac48617 /src/io/file.cpp
parentAdd initial commit (diff)
downloadinkscape-af9c8d266f97d9ae17f13ee42f3078a85371b38c.tar.gz
inkscape-af9c8d266f97d9ae17f13ee42f3078a85371b38c.zip
allow multiple style tags
Diffstat (limited to 'src/io/file.cpp')
-rw-r--r--src/io/file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/io/file.cpp b/src/io/file.cpp
index a87453d47..a23ef8fbc 100644
--- a/src/io/file.cpp
+++ b/src/io/file.cpp
@@ -65,6 +65,7 @@ ink_file_open(const Glib::ustring& data)
SPRoot *root = doc->getRoot();
root->original.inkscape = root->version.inkscape;
root->original.svg = root->version.svg;
+ INKSCAPE.readStyleSheets();
}
return doc;
@@ -115,6 +116,7 @@ ink_file_open(const Glib::RefPtr<Gio::File>& file, bool &cancelled)
SPRoot *root = doc->getRoot();
root->original.inkscape = root->version.inkscape;
root->original.svg = root->version.svg;
+ INKSCAPE.readStyleSheets();
}
return doc;