X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=b84f033f45e8b2e29d9063abe9d68ac240375cf8;hp=ebc1a64d63309b9c280de575501fc6ea151f35b7;hb=2ecf708808a8d719bf7cf48d1f8c896d202b785d;hpb=f0370416f1e9b32c307ba0a7b45e577571745ed7 diff --git a/sidebar.c b/sidebar.c index ebc1a64..b84f033 100644 --- a/sidebar.c +++ b/sidebar.c @@ -243,6 +243,8 @@ int draw_sidebar(int menu) { SidebarWidth = 0; } else if(!prev_show_value && option(OPTMBOXPANE)) { SidebarWidth = saveSidebarWidth; + /* after toggle: force recounting of all mail */ + mutt_buffy_check(1); } prev_show_value = option(OPTMBOXPANE); }