From: Olaf Lessenich Date: Thu, 14 Apr 2016 22:23:28 +0000 (+0100) Subject: allow the user to change mailboxes again X-Git-Tag: neomutt-20160416~5^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d258d237dc6d79b145be3eb49520308ec3c5553;p=neomutt allow the user to change mailboxes again "unmailboxes *" used to cause Sidebar to crash. The bug-fix for this introduced another bug that prevented users from changing to a non-Sidebar folder. Signed-off-by: Richard Russon --- diff --git a/curs_main.c b/curs_main.c index 04fcffa16..0d6a78342 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1248,8 +1248,7 @@ int mutt_index_menu (void) mutt_expand_path (buf, sizeof (buf)); #ifdef USE_SIDEBAR - if (sb_set_open_buffy (buf) == NULL) - break; + sb_set_open_buffy (buf); #endif if (mx_get_magic (buf) <= 0) {