diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-09-15 22:31:44 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-09-15 22:31:44 +0000 |
| commit | 8ed02c48e6b56a5ea1f204a7938ee20a3da2a65a (patch) | |
| tree | 6f471cdb59b34c757ee215c0eb69d855cc1d06b9 /src/selection-chemistry.cpp | |
| parent | Duplicating text along path and its path relinks to the new path (if the pref... (diff) | |
| download | inkscape-8ed02c48e6b56a5ea1f204a7938ee20a3da2a65a.tar.gz inkscape-8ed02c48e6b56a5ea1f204a7938ee20a3da2a65a.zip | |
Fix minor problem in previous commit
Fixed bugs:
- https://launchpad.net/bugs/312116
(bzr r15118)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 7606fc477..834f82edc 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -525,7 +525,7 @@ void sp_selection_duplicate(SPDesktop *desktop, bool suppressDone, bool duplicat const gchar *source_href = sp_textpath_get_path_item(textpath)->getId(); for (guint j = 0; j < old_ids.size(); j++) { if (!strcmp(source_href, old_ids[j])) { - textpath->getRepr()->setAttribute("xlink:href", Glib::ustring("#") + new_ids[j]); + doc->getObjectById(new_ids[i])->firstChild()->getRepr()->setAttribute("xlink:href", Glib::ustring("#") + new_ids[j]); } } } |
