summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-07 19:49:53 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-07 19:49:53 -0500
commitb0506f2a667d0c1f4bddf7429068a4ee2042c039 (patch)
treed3d77d0b281f49e1707c722f092ff87ab96f9ec8 /menu.c
parente802f33329f5c9c2a0630693d42c737d4b75b409 (diff)
simple find menu
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;