Andreas Krennmair:
[apps/madmutt.git] / curs_main.c
index 882ba35..bbbc6c4 100644 (file)
@@ -537,6 +537,8 @@ int mutt_index_menu (void)
           mutt_error _("Mailbox was externally modified.  Flags may be wrong.");
         else if (check == M_NEW_MAIL)
         {
+          /* on new mail: redraw sidebar */
+          draw_sidebar (CurrentMenu);
           mutt_message _("New mail in this mailbox.");
           if (option (OPTBEEPNEW))
             beep ();
@@ -592,7 +594,6 @@ int mutt_index_menu (void)
         if (menu->redraw & REDRAW_INDEX)
         {
           menu_redraw_index (menu);
-          draw_slidebar(menu);
           menu->redraw |= REDRAW_STATUS;
         }
         else if (menu->redraw & (REDRAW_MOTION_RESYNCH | REDRAW_MOTION))