mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
api: fix bug with function config_set_desc_plugin (use immediately description for option when function is called)
This commit is contained in:
@@ -184,6 +184,8 @@ plugin_config_set_desc_internal (const char *option, const char *value)
|
||||
option, "string", _("description of plugin option"),
|
||||
NULL, 0, 0, "", value, 0, NULL, NULL,
|
||||
&plugin_config_desc_changed_cb, NULL, NULL, NULL);
|
||||
if (ptr_option)
|
||||
plugin_config_desc_changed_cb (NULL, ptr_option);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user