summaryrefslogtreecommitdiffstats
path: root/src/ui/clipboard.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-16 10:24:04 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-10-16 10:24:04 +0000
commitc698002c4598209f6c4ccc0a86f89afb54f224a2 (patch)
treecf0c89fdc713f96eba2f760b909c0c648eb075b4 /src/ui/clipboard.cpp
parentworking in dimension to item (diff)
parentupdate to trunk (diff)
downloadinkscape-c698002c4598209f6c4ccc0a86f89afb54f224a2.tar.gz
inkscape-c698002c4598209f6c4ccc0a86f89afb54f224a2.zip
update to current measure code
(bzr r14393.2.1)
Diffstat (limited to 'src/ui/clipboard.cpp')
-rw-r--r--src/ui/clipboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index 816daf2e5..0792fb9c5 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -565,7 +565,7 @@ bool ClipboardManagerImpl::pastePathEffect(SPDesktop *desktop)
}
Inkscape::Selection *selection = desktop->getSelection();
- if (selection && selection->isEmpty()) {
+ if (!selection || selection->isEmpty()) {
_userWarn(desktop, _("Select <b>object(s)</b> to paste live path effect to."));
return false;
}