obey 'always_show_msg' on "no more [...] msgs. go to next folder?"
authorPaul <paul@claws-mail.org>
Mon, 21 Nov 2016 08:47:52 +0000 (08:47 +0000)
committerPaul <paul@claws-mail.org>
Mon, 21 Nov 2016 08:47:52 +0000 (08:47 +0000)
src/folderview.c

index a7ab89f..8469ee9 100644 (file)
@@ -898,7 +898,8 @@ static void folderview_select_node(FolderView *folderview, GtkCMCTreeNode *node)
        if ((folderview->summaryview->folder_item &&
            folderview->summaryview->folder_item->total_msgs > 0) ||
             prefs_common.layout_mode == SMALL_LAYOUT)
-               summary_grab_focus(folderview->summaryview);
+               summary_select_node(folderview->summaryview,
+                                   folderview->summaryview->selected, -1);
        else
                gtk_widget_grab_focus(folderview->ctree);
 }