diff options
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 126ec20a01..ff83d029f0 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1814,7 +1814,7 @@ done_message_selected (CamelFolder *folder, char *uid, CamelMimeMessage *msg, vo FolderBrowser *fb = data; int timeout = mail_config_get_mark_as_seen_timeout (); - if (folder != fb->folder) + if (folder != fb->folder || fb->mail_display == NULL) return; mail_display_set_message (fb->mail_display, (CamelMedium *)msg); |