]> granicus.if.org Git - neomutt/commitdiff
update the header colors after modifying tags
authorPhilippe Le Brouster <plb@nebkha.net>
Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 15:30:08 +0000 (16:30 +0100)
The header color depends on tags. The message header color must be
updated after modifying message tags.

mutt_notmuch.c

index 9eafb0a1f402a4844282f3e8376dd0ad1811fcce..d090ef52836ea710b2dae3e0fbbd0a1ffe877b80 100644 (file)
@@ -1310,6 +1310,7 @@ int nm_modify_message_tags(CONTEXT *ctx, HEADER *hdr, char *buf)
 
        update_tags(msg, buf);
        update_header_tags(hdr, msg);
+       mutt_set_header_color(ctx, hdr);
 
        rc = 0;
        hdr->changed = TRUE;