diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-17 19:44:39 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-17 19:44:39 +0100 |
commit | 3e1d811761887ca6c234e7b369febdf3d1710ae5 (patch) | |
tree | 74c538da60792008836f3d496728139dddebb3d0 /src/gui/gui-buffer.c | |
parent | a290589f7cb3c4d59afa1a3a9a67f0b7eda4720a (diff) | |
download | weechat-3e1d811761887ca6c234e7b369febdf3d1710ae5.zip |
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.
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index d133f8c94..bb62d3d01 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -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) { |