X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=flags.c;h=763b96db09d9340c2de3098ffae0ba36ab250a3a;hp=e46ee8a6bb2aed27844b196ed89a7f766c73b5db;hb=f353d90d89bbdaa8ff3f3c619384948ec8fe9c14;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/flags.c b/flags.c index e46ee8a..763b96d 100644 --- a/flags.c +++ b/flags.c @@ -18,8 +18,10 @@ #include "mutt.h" #include "mutt_curses.h" +#include "mutt_menu.h" #include "sort.h" #include "mx.h" +#include "sidebar.h" #ifdef USE_IMAP #include "imap_private.h" @@ -297,6 +299,7 @@ void _mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf, int upd_ctx) */ if (h->searched && (changed != h->changed || deleted != ctx->deleted || tagged != ctx->tagged)) h->searched = 0; + draw_sidebar(0); } void mutt_tag_set_flag (int flag, int bf)