diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-05-26 23:05:03 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-05-26 23:05:03 +0000 |
| commit | dfa9b113caecfbf27f86cc0413e853f2109dafda (patch) | |
| tree | 820dbd4cc8bbd52fe1b18d0532f9c93c8e76d040 /src/ui/clipboard.cpp | |
| parent | Update it.po (diff) | |
| download | inkscape-dfa9b113caecfbf27f86cc0413e853f2109dafda.tar.gz inkscape-dfa9b113caecfbf27f86cc0413e853f2109dafda.zip | |
Add hide operand, work on groups and allow shapes as parameters in LPE Bool
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 4fbf2af62..f96fa607e 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -637,6 +637,16 @@ Glib::ustring ClipboardManagerImpl::getShapeOrTextObjectId(SPDesktop *desktop) if ( repr == nullptr ) { repr = sp_repr_lookup_name(root, "svg:text", -1); } + if (repr == nullptr) { + repr = sp_repr_lookup_name(root, "svg:ellipse", -1); + } + if (repr == nullptr) { + repr = sp_repr_lookup_name(root, "svg:rect", -1); + } + if (repr == nullptr) { + repr = sp_repr_lookup_name(root, "svg:circle", -1); + } + if ( repr == nullptr ) { _userWarn(desktop, _("Clipboard does not contain a path.")); |
