1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)

The item is now cleared after any action that is changing content of command
line and after switch of buffer.
This commit is contained in:
Sebastien Helleu
2013-03-17 19:44:39 +01:00
parent a290589f7c
commit 3e1d811761
12 changed files with 90 additions and 52 deletions
+3 -1
View File
@@ -1645,7 +1645,9 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
{
gui_buffer_undo_snap (buffer);
gui_input_replace_input (buffer, value);
gui_input_text_changed_modifier_and_signal (buffer, 1);
gui_input_text_changed_modifier_and_signal (buffer,
1, /* save undo */
1); /* stop completion */
}
else if (string_strcasecmp (property, "input_pos") == 0)
{