Call completeClear when closing a window
parent
6a5ebb0bab
commit
7783d89448
1
ui.c
1
ui.c
|
@ -727,6 +727,7 @@ void uiShowNum(size_t num) {
|
||||||
|
|
||||||
static void windowClose(struct Window *window) {
|
static void windowClose(struct Window *window) {
|
||||||
if (window->id == Network) return;
|
if (window->id == Network) return;
|
||||||
|
completeClear(window->id);
|
||||||
if (windows.active == window) {
|
if (windows.active == window) {
|
||||||
if (windows.other && windows.other != window) {
|
if (windows.other && windows.other != window) {
|
||||||
windowShow(windows.other);
|
windowShow(windows.other);
|
||||||
|
|
Loading…
Reference in New Issue