summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b4cd9d77b0..721fb8c1ef 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -738,10 +738,13 @@ static int dirbrowse(void)
738 int customaction = ONPLAY_NO_CUSTOMACTION; 738 int customaction = ONPLAY_NO_CUSTOMACTION;
739 bool do_restore_display = true; 739 bool do_restore_display = true;
740 #ifdef HAVE_TAGCACHE 740 #ifdef HAVE_TAGCACHE
741 if (id3db && (button == ACTION_STD_OK || button == ACTION_STD_CONTEXT)) { 741 if (id3db && (button == ACTION_STD_OK || button == ACTION_STD_CONTEXT))
742 {
742 customaction = tagtree_get_custom_action(&tc); 743 customaction = tagtree_get_custom_action(&tc);
743 if (customaction == ONPLAY_CUSTOMACTION_SHUFFLE_SONGS) { 744 if (customaction == ONPLAY_CUSTOMACTION_SHUFFLE_SONGS)
744 button = ACTION_STD_CONTEXT; /** The code to insert shuffled is on the context branch of the switch so we always go here */ 745 {
746 /* The code to insert shuffled is on the context branch of the switch so we always go here */
747 button = ACTION_STD_CONTEXT;
745 do_restore_display = false; 748 do_restore_display = false;
746 } 749 }
747 } 750 }