@@ -5870,7 +5870,7 @@ int action_ok_quit(const char *path, const char *label, unsigned type, size_t id
58705870{
58715871 settings_t * settings = config_get_ptr ();
58725872
5873- if (settings -> bools .confirm_quit )
5873+ if (settings -> bools .menu_show_confirm && settings -> bools . confirm_quit )
58745874 {
58755875 struct menu_state * menu_st = menu_state_get_ptr ();
58765876 menu_dialog_confirm_set (menu_st , MSG_PRESS_AGAIN_TO_QUIT , CMD_EVENT_QUIT );
@@ -5883,7 +5883,7 @@ int action_ok_restart_content(const char *path, const char *label, unsigned type
58835883{
58845884 settings_t * settings = config_get_ptr ();
58855885
5886- if (settings -> bools .confirm_reset )
5886+ if (settings -> bools .menu_show_confirm && settings -> bools . confirm_reset )
58875887 {
58885888 struct menu_state * menu_st = menu_state_get_ptr ();
58895889 menu_dialog_confirm_set (menu_st , MSG_PRESS_AGAIN_TO_RESET , CMD_EVENT_RESET );
@@ -5896,7 +5896,7 @@ int action_ok_close_content(const char *path, const char *label, unsigned type,
58965896{
58975897 settings_t * settings = config_get_ptr ();
58985898
5899- if (settings -> bools .confirm_close )
5899+ if (settings -> bools .menu_show_confirm && settings -> bools . confirm_close )
59005900 {
59015901 struct menu_state * menu_st = menu_state_get_ptr ();
59025902 menu_dialog_confirm_set (menu_st , MSG_PRESS_AGAIN_TO_CLOSE_CONTENT , CMD_EVENT_CLOSE_CONTENT );
0 commit comments