summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-option.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-05-29 22:10:39 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-25 16:35:27 +0200
commit4c65f2b648312a6fae107ae93716538878f97a92 (patch)
tree010be0a9cf9136bfb4b475691249ca9c77b3d061 /src/plugins/fset/fset-option.c
parent48aefca89da48e37fa06ab7f7e134eb2b2110a00 (diff)
downloadweechat-4c65f2b648312a6fae107ae93716538878f97a92.zip
fset: fix columns size after changing an option
Diffstat (limited to 'src/plugins/fset/fset-option.c')
-rw-r--r--src/plugins/fset/fset-option.c5
1 files changed, 2 insertions, 3 deletions
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;