summaryrefslogtreecommitdiffstats
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 633ad7ecbc..e836aeb633 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -2135,7 +2135,9 @@ bool tagtree_insert_selection_playlist(int position, bool queue)
if (newtable != PLAYTRACK)
{
logf("newtable: %d !!", newtable);
- tc->dirlevel = dirlevel;
+ while (tc->dirlevel > dirlevel)
+ tagtree_exit(tc);
+ tagtree_load(tc);
return false;
}
}