aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/message-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 303eafc701..898b1c4af4 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -415,6 +415,7 @@ extended_g_node_insert_before (GNode *parent,
/* This is where tracking the last child pays off. */
if (sibling == NULL && ext_parent->last_child != NULL) {
+ node->parent = parent;
node->prev = ext_parent->last_child;
ext_parent->last_child->next = node;
} else {