diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/summaryview.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2018-01-12 + + * src/summaryview.c: summary_mark_displayed_read(): reset current + selection list when sorted by unread (fixes #286). + 2017-12-14 * version 3.7.0beta1 diff --git a/src/summaryview.c b/src/summaryview.c index 628eb109..d5a04b70 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -5842,6 +5842,10 @@ void summary_mark_displayed_read(SummaryView *summaryview, GtkTreeIter *iter) (msginfo, MSG_NEW | MSG_UNREAD); summary_set_row(summaryview, iter, msginfo); summary_status_show(summaryview); + + /* sort order can be changed here */ + if (summaryview->folder_item->sort_key == SORT_BY_UNREAD) + summary_selection_list_free(summaryview); } summary_unlock(summaryview); |