diff options
Diffstat (limited to 'mail')
| -rw-r--r-- | mail/message-list.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index b0082f9995..1b0ba490a6 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3905,10 +3905,12 @@ build_tree (MessageList *message_list, node = parent; } - message_list_tree_model_freeze (message_list); - + /* We need to set the cursor before we freeze, as + * the thaw will restore it to the pre-freeze value. */ e_tree_set_cursor (E_TREE (message_list), node); + message_list_tree_model_freeze (message_list); + /* Show the cursor unless we're responding to a * "folder-changed" signal from our CamelFolder. */ if (folder_changed && table_item != NULL) |
