summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
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);
}
}