diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-10-12 10:38:33 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-10-12 10:38:33 +0000 |
| commit | c032ef3f452e51e5ca4e63c00099194571e39a9e (patch) | |
| tree | a789b06236008f2060e99e8132b2a02639038e37 /src | |
| parent | Convert Measure to Item done (diff) | |
| parent | Fix from Johan to prevent referencing null C++ pointer. Found via Clang scan ... (diff) | |
| download | inkscape-c032ef3f452e51e5ca4e63c00099194571e39a9e.tar.gz inkscape-c032ef3f452e51e5ca4e63c00099194571e39a9e.zip | |
update to trunk
(bzr r14393.1.18)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/clipboard.cpp | 2 |
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; } |
