]> granicus.if.org Git - neomutt/commitdiff
keywords: check there are emails to tag
authorRichard Russon <rich@flatcap.org>
Sat, 27 Aug 2016 09:24:55 +0000 (10:24 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 27 Aug 2016 09:24:55 +0000 (10:24 +0100)
curs_main.c

index 7604b2ca5b7e72fdb4d4264929c3a757bdd206a7..b1dfff13f1730d825d4d84b832aea33e696089ed 100644 (file)
@@ -2677,6 +2677,7 @@ int mutt_index_menu (void)
       case OP_EDIT_LABEL:
 
        CHECK_MSGCOUNT;
+       CHECK_VISIBLE;
        CHECK_READONLY;
        rc = mutt_label_message(tag ? NULL : CURHDR);
        if (rc > 0) {