diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-07-08 01:24:55 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-07-08 01:24:55 +0000 |
| commit | d624d3acadde3154b958f68564fb3ab54a6b5d36 (patch) | |
| tree | d981bd6f7bf379997d47cce6acec886d5da758f6 /src/sp-item.cpp | |
| parent | Dutch translation update (diff) | |
| download | inkscape-d624d3acadde3154b958f68564fb3ab54a6b5d36.tar.gz inkscape-d624d3acadde3154b958f68564fb3ab54a6b5d36.zip | |
Fix for 181473 : Patch for Layers drag and drop crash
(bzr r11531)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 9f50e5e0c..b1eb5a24a 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -406,7 +406,7 @@ void SPItem::moveTo(SPItem *target, gboolean intoafter) { our_ref->parent()->changeOrder(our_ref, target_ref); } - if (first) { + if (first && parent) { // If "first" ensure it appears after the defs etc lowerToBottom(); return; |
