X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=flags.c;h=8cc3c4261d61b3d15755dd68898cb7006bc7e3ab;hp=e46ee8a6bb2aed27844b196ed89a7f766c73b5db;hb=31edbe030ac69952aa535730427246b5e9a1603c;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/flags.c b/flags.c index e46ee8a..8cc3c42 100644 --- a/flags.c +++ b/flags.c @@ -16,10 +16,16 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #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 +303,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)