summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-06-05 21:15:47 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-25 16:35:28 +0200
commit6ba65da06ef595c08591d45e39da084865fff7a5 (patch)
treecde727fb12f935dc2bf1a3620c2226c01f2c5882 /src/plugins
parent690ef1e3098ede479ba227075f88c0fcf4aa5186 (diff)
downloadweechat-6ba65da06ef595c08591d45e39da084865fff7a5.zip
fset: fix selected line after changing option fset.look.show_plugin_description
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fset/fset-config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-config.c b/src/plugins/fset/fset-config.c
index 490cf4a55..0b69d68b6 100644
--- a/src/plugins/fset/fset-config.c
+++ b/src/plugins/fset/fset-config.c
@@ -121,7 +121,10 @@ fset_config_change_show_plugin_description_cb (const void *pointer, void *data,
(void) option;
if (fset_buffer)
+ {
+ fset_buffer_selected_line = 0;
fset_buffer_refresh (1);
+ }
}
/*