1
0
Fork 0
forked from len0rd/rockbox

plugins: db_folder_select, disktidy, main_menu_config: Fix selection dialog with Show Icons set to No

Temporarily enable icons for required lists. Probably not a proper fix but a simple workaround.

Fixes FS#13574

Change-Id: I011a80e2a9f03019927b32e92cd5a35275c051e1
This commit is contained in:
Roman Artiukhin 2025-04-07 21:04:54 +03:00
parent b3caf32f78
commit 08bd5cdd3d
3 changed files with 9 additions and 1 deletions

View file

@ -607,7 +607,10 @@ bool folder_select(char * header_text, char* setting, int setting_len)
info.get_name = folder_get_name;
info.action_callback = folder_action_callback;
info.get_icon = folder_get_icon;
bool show_icons = rb->global_settings->show_icons;
rb->global_settings->show_icons = true;
rb->simplelist_show_list(&info);
rb->global_settings->show_icons = show_icons;
logf("folder_select %d bytes free", (int)(buffer_end - buffer_front));
/* done editing. check for changes */
if (hash != save_folders(root, hashed.buf, setting_len))