[BugFix] tagtree voiced Letter menus with talkmenu off

Change-Id: I671f795061a63bcf5db3c94728e98dd7506329a7
This commit is contained in:
William Wilgus 2026-06-14 16:50:54 -04:00
parent f07e977d7c
commit 58ce77fbe2

View file

@ -521,7 +521,12 @@ static int update_dir(void)
gui_synclist_set_nb_items(list, tc.filesindir);
gui_synclist_set_icon_callback(list,
global_settings.show_icons?tree_get_fileicon:NULL);
gui_synclist_set_voice_callback(list, &tree_voice_cb);
#ifdef HAVE_TAGCACHE
if(!id3db || global_settings.talk_menu)
#endif
{
gui_synclist_set_voice_callback(list, &tree_voice_cb);
}
#ifdef HAVE_LCD_COLOR
gui_synclist_set_color_callback(list, &tree_get_filecolor);
#endif