aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 7147961c1b..07d1f5b3cc 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1982,7 +1982,7 @@ ml_tree_drag_data_received (ETree *tree, int row, ETreePath path, int col,
struct _drop_msg *m;
/* this means we are receiving no data */
- if (data->data == NULL || data->length == -1)
+ if (!ml->folder || data->data == NULL || data->length == -1)
return;
m = mail_msg_new(&ml_drop_async_op, NULL, sizeof(*m));