aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index c2d5a1e6..80e8adb9 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -2893,9 +2893,10 @@ gboolean summary_step(SummaryView *summaryview, GtkScrollType type)
void summary_toggle_view(SummaryView *summaryview)
{
if (!messageview_is_visible(summaryview->messageview) &&
- summaryview->selected)
+ summaryview->selected) {
summary_display_msg_selected(summaryview, FALSE, FALSE);
- else
+ summary_mark_displayed_read(summaryview, NULL);
+ } else
main_window_toggle_message_view(summaryview->mainwin);
}