]> granicus.if.org Git - mutt/commitdiff
do not leave pager when using read-thread and read-subthread
authorMichael Elkins <me@sigpipe.org>
Thu, 5 Aug 2010 23:47:45 +0000 (16:47 -0700)
committerMichael Elkins <me@sigpipe.org>
Thu, 5 Aug 2010 23:47:45 +0000 (16:47 -0700)
closes #2137

curs_main.c

index 58d5305e7c55d260c0f1665d47e0a0e92ae25282..9ae65913bf893db1021949f311225157695e59a6 100644 (file)
@@ -2056,6 +2056,11 @@ int mutt_index_menu (void)
            if ((menu->current = (op == OP_MAIN_READ_THREAD ?
                                  mutt_next_thread (CURHDR) : mutt_next_subthread (CURHDR))) == -1)
              menu->current = menu->oldcurrent;
+           else if (menu->menu == MENU_PAGER)
+           {
+             op = OP_DISPLAY_MESSAGE;
+             continue;
+           }
          }
          menu->redraw = REDRAW_INDEX | REDRAW_STATUS;
        }