]> granicus.if.org Git - neomutt/commitdiff
allow the user to change mailboxes again
authorOlaf Lessenich <xai@linux.com>
Thu, 14 Apr 2016 22:23:28 +0000 (23:23 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 14 Apr 2016 22:38:24 +0000 (23:38 +0100)
"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 <rich@flatcap.org>
curs_main.c

index 04fcffa168b02c36f1f3dd6f71c38b936e77e46a..0d6a783421ece038d4449c89feb9e487fa085ab6 100644 (file)
@@ -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)
        {