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 60bdd7a..c4502e0 100644
--- a/menu.c
+++ b/menu.c
@@ -1,4 +1,5 @@
static void menu_open(Ted *ted, Menu menu) {
+ if (ted->find) find_close(ted);
ted->menu = menu;
ted->prev_active_buffer = ted->active_buffer;
ted->active_buffer = NULL;