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 436dddf508..8ea25661f6 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3831,7 +3831,7 @@ regen_list_regened (struct _mail_msg *mm)
if (m->dotree) {
if (m->ml->just_set_folder)
m->ml->just_set_folder = FALSE;
- else
+ else if (!m->search) /* Let us not store the tree state of search, since it will overwrite the test. */
save_tree_state (m->ml);
build_tree (m->ml, m->tree, m->changes);