diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/clipboard.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 65a704278..a56529dea 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -1108,9 +1108,6 @@ void ClipboardManagerImpl::_applyPathEffect(SPItem *item, gchar const *effectsta SPLPEItem *lpeitem = dynamic_cast<SPLPEItem *>(item); if (lpeitem) { - // for each effect in the stack, check if we need to fork it before adding it to the item - lpeitem->forkPathEffectsIfNecessary(1); - std::istringstream iss(effectstack); std::string href; while (std::getline(iss, href, ';')) @@ -1122,6 +1119,8 @@ void ClipboardManagerImpl::_applyPathEffect(SPItem *item, gchar const *effectsta LivePathEffectObject *lpeobj = LIVEPATHEFFECT(obj); lpeitem->addPathEffect(lpeobj); } + // for each effect in the stack, check if we need to fork it before adding it to the item + lpeitem->forkPathEffectsIfNecessary(1); } } |
