1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

aspell: refresh bar item "aspell_suggest" when aspell is enabled/disabled (bug #37744)

This commit is contained in:
Sebastien Helleu
2012-11-16 13:28:24 +01:00
parent adec2dec0e
commit c1389f8fe1
2 changed files with 5 additions and 1 deletions
@@ -76,6 +76,9 @@ weechat_aspell_bar_item_suggest (void *data, struct t_gui_bar_item *item,
(void) data;
(void) item;
if (!aspell_enabled)
return NULL;
if (!window)
window = weechat_current_window ();
+2 -1
View File
@@ -129,8 +129,9 @@ weechat_aspell_config_change_enabled (void *data, struct t_config_option *option
aspell_enabled = weechat_config_boolean (option);
/* refresh input */
/* refresh input and aspell suggestions */
weechat_bar_item_update ("input_text");
weechat_bar_item_update ("aspell_suggest");
}
/*