[BugFix] tagtree voiced Letter menus with talkmenu off

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sun, 14 Jun 2026 18:35:01 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 58ce77fbe2e5e059eddd7082fd905f73e280adef
Author: William Wilgus <[email protected]>
Date:   Sun Jun 14 16:50:54 2026 -0400

    [BugFix] tagtree voiced Letter menus with talkmenu off
    
    Change-Id: I671f795061a63bcf5db3c94728e98dd7506329a7

diff --git a/apps/tree.c b/apps/tree.c
index 85dbc06b3b..7f3bee1113 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -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
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs