summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 22:58:57 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 22:58:57 -0400
commit518851c0cde788a807e640377a7093ab4e8c5b5f (patch)
treee18c5296d7b5b5450689402f65be1bd91d89845d /ted.c
parent913a5a5dfbcf6789a1ac6b8c32fb23cdcdde995b (diff)
more dynamic menus (menus are currently broken)
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted.c b/ted.c
index 10567eb..e2d4285 100644
--- a/ted.c
+++ b/ted.c
@@ -676,7 +676,7 @@ void ted_reload_all(Ted *ted) {
}
}
}
- if (ted->menu == MENU_ASK_RELOAD) {
+ if (menu_is_open(ted, MENU_ASK_RELOAD)) {
menu_close(ted);
}
}