aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index c5e6d1047a..b7f911ad9d 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -2172,7 +2172,7 @@ emfv_enable_menus(EMFolderView *emfv)
return;
{
- if (emfv->menu) {
+ if (emfv->menu && emfv->folder) {
EMMenuTargetSelect *t;
t = em_menu_target_new_select(emfv->menu, emfv->folder, emfv->folder_uri, message_list_get_selected(emfv->list));