diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2011-03-14 19:50:25 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2011-03-14 19:50:25 +0000 |
| commit | 861f06b2338b396878a679471d63a890febfc73b (patch) | |
| tree | f4b7ea1606274097e4c089b67edff52ecd88098e /src/file.cpp | |
| parent | Extensions. Slider in Float and Int extension widgets. (diff) | |
| download | inkscape-861f06b2338b396878a679471d63a890febfc73b.tar.gz inkscape-861f06b2338b396878a679471d63a890febfc73b.zip | |
Import. Patch for Bug #716362 (Invalid result when drag and drop svg file), by Johannes Lipp.
Fixed bugs:
- https://launchpad.net/bugs/716362
(bzr r10104)
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp index 2816b0434..c93188358 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -978,7 +978,7 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri, // Create a new group if necessary. Inkscape::XML::Node *newgroup = NULL; - if ((style && style->firstChild()) || items_count > 1) { + if ((style && style->attributeList()) || items_count > 1) { newgroup = xml_in_doc->createElement("svg:g"); sp_repr_css_set(newgroup, style, "style"); } |
