X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=curs_main.c;h=1e50716a25e329ae450787f7b40895977a578a51;hb=24ecaf67a8dcf80de05f86dd8ee7b11dad0ead69;hp=8008f5fde6d712cded77f5ec780459806ba7ba34;hpb=09e1bf15b3c55ca9c44c09d2e91dd251af2da706;p=apps%2Fmadmutt.git diff --git a/curs_main.c b/curs_main.c index 8008f5f..1e50716 100644 --- a/curs_main.c +++ b/curs_main.c @@ -479,8 +479,12 @@ int mutt_index_menu (void) #endif IndexHelp); - if (!attach_msg) + if (!attach_msg) { mutt_buffy_check(1); /* force the buffy check after we enter the folder */ + /* record folder we open to place sidebar indicator properly */ + if (Context && Context->path) + set_curbuffy(Context->path); + } FOREVER {