Commit 989e70ba authored by andreas amann's avatar andreas amann

do not leave pager when changing sort order.

closes #2143
parent 9d98f443
......@@ -922,6 +922,11 @@ int mutt_index_menu (void)
resort_index (menu);
set_option (OPTSEARCHINVALID);
}
if (menu->menu == MENU_PAGER)
{
op = OP_DISPLAY_MESSAGE;
continue;
}
menu->redraw |= REDRAW_STATUS;
}
break;
......
......@@ -208,6 +208,8 @@ struct binding_t OpPager[] = { /* map: pager */
{ "search-next", OP_SEARCH_NEXT, "n" },
{ "next-thread", OP_MAIN_NEXT_THREAD, "\016" },
{ "next-subthread", OP_MAIN_NEXT_SUBTHREAD, "\033n" },
{ "sort-mailbox", OP_SORT, "o" },
{ "sort-reverse", OP_SORT_REVERSE, "O" },
{ "print-message", OP_PRINT, "p" },
{ "previous-thread", OP_MAIN_PREV_THREAD, "\020" },
{ "previous-subthread",OP_MAIN_PREV_SUBTHREAD, "\033p" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment