From 4c65f2b648312a6fae107ae93716538878f97a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 29 May 2017 22:10:39 +0200 Subject: fset: fix columns size after changing an option --- src/plugins/fset/fset-option.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/fset/fset-option.c') diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c index 42ac030d0..534f8dce3 100644 --- a/src/plugins/fset/fset-option.c +++ b/src/plugins/fset/fset-option.c @@ -784,12 +784,11 @@ fset_option_config_cb (const void *pointer, { ptr_option = weechat_config_get (ptr_fset_option->name); if (ptr_option) - { fset_option_set_values (ptr_fset_option, ptr_option); - fset_buffer_display_line (line, ptr_fset_option); - } } } + fset_option_set_max_length_fields_all (); + fset_buffer_refresh (1); } return WEECHAT_RC_OK; -- cgit v1.2.3