X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pager.c;h=9dd0f9ce7112b75e4adcb625b9dd63edd0a18550;hb=96fa341bc302bf602e096ae49312c478e922cee3;hp=7e9a41b493cd52c89978610226d2da89c8373980;hpb=cfd46a622a446af8a5fa286637cd88259f1b50a5;p=apps%2Fmadmutt.git diff --git a/pager.c b/pager.c index 7e9a41b..9dd0f9c 100644 --- a/pager.c +++ b/pager.c @@ -2578,6 +2578,11 @@ CHECK_IMAP_ACL(IMAP_ACL_WRITE); case OP_TAG: CHECK_MODE(IsHeader (extra)); mutt_set_flag (Context, extra->hdr, M_TAG, !extra->hdr->tagged); + + Context->last_tag = extra->hdr->tagged ? extra->hdr : + ((Context->last_tag == extra->hdr && !extra->hdr->tagged) + ? NULL : Context->last_tag); + redraw = REDRAW_STATUS | REDRAW_INDEX; if (option (OPTRESOLVE)) {