diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-01 10:24:43 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-01 10:24:43 +0000 |
| commit | 08da3fe7cf2b70b8ff16075c5cbf2657e93267bb (patch) | |
| tree | 5c9665f5bc9a6bf825bcf60509a4fd37fad4e8cf /src/path-chemistry.cpp | |
| parent | Add widget to color and some refactoring (diff) | |
| parent | fix removing class when object to path (diff) | |
| download | inkscape-08da3fe7cf2b70b8ff16075c5cbf2657e93267bb.tar.gz inkscape-08da3fe7cf2b70b8ff16075c5cbf2657e93267bb.zip | |
Merge branch 'master' into menuInverseClipMask
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index b3b0c8076..b824d15c7 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -430,6 +430,8 @@ sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>& Inkscape::XML::Node *parent = item->getRepr()->parent(); // remember id char const *id = item->getRepr()->attribute("id"); + // remember class + char const *class_attr = item->getRepr()->attribute("class"); // remember title gchar *title = item->title(); // remember description @@ -444,6 +446,8 @@ sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>& // restore id repr->setAttribute("id", id); + // restore class + repr->setAttribute("class", class_attr); // add the new repr to the parent parent->appendChild(repr); SPObject* newObj = document->getObjectByRepr(repr); |
