From c825582c726a2e4161092cdb99b9dd53518e87b6 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 14 Oct 2019 14:53:52 +0100 Subject: [PATCH] fix sidebar resizing --- main.c | 1 - sidebar.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 627463770..cf1b9e4dc 100644 --- a/main.c +++ b/main.c @@ -887,7 +887,6 @@ int main(int argc, char *argv[], char *envp[]) notify_observer_add(Config->notify, NT_CONFIG, 0, mutt_menu_config_observer, 0); notify_observer_add(Config->notify, NT_CONFIG, 0, mutt_reply_observer, 0); notify_observer_add(Colors->notify, NT_COLOR, 0, mutt_menu_color_observer, 0); - notify_observer_add(Config->notify, NT_CONFIG, 0, mutt_sb_observer, 0); if (sendflags & SEND_POSTPONED) { diff --git a/sidebar.c b/sidebar.c index 39af7c863..d44f8129c 100644 --- a/sidebar.c +++ b/sidebar.c @@ -1213,6 +1213,7 @@ int mutt_sb_observer(struct NotifyCallback *nc) if (repaint) { mutt_debug(LL_NOTIFY, "repaint sidebar\n"); + mutt_window_reflow(MuttDialogWindow); mutt_menu_set_current_redraw_full(); } -- 2.40.0