Call completeClear when closing a window

weechat-hashes
C. McEnroe 2020-02-11 18:18:48 -05:00
parent 6a5ebb0bab
commit 7783d89448
1 changed files with 1 additions and 0 deletions

1
ui.c
View File

@ -727,6 +727,7 @@ void uiShowNum(size_t num) {
static void windowClose(struct Window *window) {
if (window->id == Network) return;
completeClear(window->id);
if (windows.active == window) {
if (windows.other && windows.other != window) {
windowShow(windows.other);