diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-07-30 22:58:35 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-07-30 22:58:35 +0000 |
| commit | 5f5e9e2b956b22445a576fbfffef951a76f55fa3 (patch) | |
| tree | 270a25bcf15567f61ce8d062fa11f4beda02d4e9 /src/sp-item.cpp | |
| parent | update to trunk (diff) | |
| parent | Merge lp:~inkscape.dev/inkscape/bendFromClipboard into lp:inkscape (diff) | |
| download | inkscape-5f5e9e2b956b22445a576fbfffef951a76f55fa3.tar.gz inkscape-5f5e9e2b956b22445a576fbfffef951a76f55fa3.zip | |
update to trunk
(bzr r13879.1.19)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 410fd9b37..4937e6c76 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -351,8 +351,8 @@ void SPItem::lowerToBottom() { SPObject * bottom=parent->firstChild(); while(dynamic_cast<SPObject*>(bottom) && dynamic_cast<SPObject*>(bottom->next) && bottom!=this && !is_item(*(bottom->next))) bottom=bottom->next; - if (bottom) { - Inkscape::XML::Node *ref = ( bottom ? bottom->getRepr() : NULL ); + if (bottom && bottom != this) { + Inkscape::XML::Node *ref = bottom->getRepr() ; parent->getRepr()->changeOrder(getRepr(), ref); } } |
