aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/query_search.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/query_search.c b/src/query_search.c
index 75198d6a..ac57bce7 100644
--- a/src/query_search.c
+++ b/src/query_search.c
@@ -574,6 +574,9 @@ static void query_search_folder(FolderItem *item)
return;
}
+ if (item->opened)
+ summary_write_cache(main_window_get()->summaryview);
+
mlist = folder_item_get_msg_list(item, TRUE);
total = g_slist_length(mlist);