summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index 24a9af8..975ce15 100644
--- a/menu.c
+++ b/menu.c
@@ -44,6 +44,7 @@ static void menu_open(Ted *ted, Menu menu) {
if (ted->menu)
menu_close(ted);
if (ted->find) find_close(ted);
+ ted->autocomplete = false;
ted->menu = menu;
TextBuffer *prev_buf = ted->prev_active_buffer = ted->active_buffer;
if (prev_buf)