(XMB) Fix MENU_ACTION_CANCEL when search is active (#14882)

This commit is contained in:
sonninnos 2023-01-21 14:47:21 +02:00 committed by GitHub
parent f421194974
commit 70c4fbeb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4607,7 +4607,8 @@ static enum menu_action xmb_parse_menu_entry_action(
}
/* Back up to Main Menu and first item */
if (menu_entries_get_stack_size(0) == 1)
if ( !menu_entries_search_get_terms()
&& menu_entries_get_stack_size(0) == 1)
{
if (xmb_get_system_tab(xmb,
(unsigned)xmb->categories_selection_ptr) == XMB_SYSTEM_TAB_MAIN)