Merge pull request #2515 from lakkatv/master

(Menu) Fix the empty setting list edge case. Prevents being stuck in …
This commit is contained in:
Twinaphex 2015-12-03 23:19:07 +01:00
commit 94c164762c

View File

@ -1633,7 +1633,7 @@ loop:
menu_settings_list_increment(&setting);
}
if (count == 0 && add_empty_entry)
if (count <= 1 && add_empty_entry)
menu_entries_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_NO_SETTINGS_FOUND),
menu_hash_to_str(MENU_LABEL_NO_SETTINGS_FOUND),