From 710c43241a51b45b407468f5984a6fb804b63c83 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 27 Sep 2015 23:38:25 +0200 Subject: [PATCH] (Menu) Should respond correctly to closing down the messagebox now by pressing ACTION OK --- menu/menu_iterate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_iterate.c b/menu/menu_iterate.c index 25d4e7c15d..0a48cc3795 100644 --- a/menu/menu_iterate.c +++ b/menu/menu_iterate.c @@ -250,7 +250,7 @@ int menu_iterate(bool render_this_frame, enum menu_action action) ret = action_iterate_help(menu->menu_state.msg, sizeof(menu->menu_state.msg), label); BIT64_SET(menu->state, MENU_STATE_RENDER_MESSAGEBOX); BIT64_SET(menu->state, MENU_STATE_POST_ITERATE); - if (ret == 1) + if (ret == 1 || action == MENU_ACTION_OK) BIT64_SET(menu->state, MENU_STATE_POP_STACK); break; case ITERATE_TYPE_BIND: