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 2cb0f081c2..679c584a24 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1976,7 +1976,7 @@ on_cursor_activated_idle (gpointer data)
ESelectionModel *esm = e_tree_get_selection_model (message_list->tree);
gint selected = e_selection_model_selected_count (esm);
- if (selected == 1) {
+ if (selected == 1 && message_list->cursor_uid) {
printf ("emitting cursor changed signal, for uid %s\n", message_list->cursor_uid);
gtk_signal_emit (GTK_OBJECT (message_list),
message_list_signals[MESSAGE_SELECTED], message_list->cursor_uid);