diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 644329c5bf..b68a47e75d 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -654,8 +654,12 @@ static int create_and_play_dir(int direction, bool play_last) | |||
654 | playlist_start(index, 0); | 654 | playlist_start(index, 0); |
655 | #endif | 655 | #endif |
656 | } | 656 | } |
657 | |||
658 | /* we've overwritten the dircache when getting the next/previous dir, | ||
659 | so the tree browser context will need to be reloaded */ | ||
660 | reload_directory(); | ||
657 | } | 661 | } |
658 | 662 | ||
659 | return index; | 663 | return index; |
660 | } | 664 | } |
661 | 665 | ||
@@ -1577,10 +1581,6 @@ static int get_next_dir(char *dir, bool is_forward, bool recursion) | |||
1577 | } | 1581 | } |
1578 | } | 1582 | } |
1579 | 1583 | ||
1580 | /* we've overwritten the dircache so tree browser will need to be | ||
1581 | reloaded */ | ||
1582 | reload_directory(); | ||
1583 | |||
1584 | /* restore dirfilter & sort_dir */ | 1584 | /* restore dirfilter & sort_dir */ |
1585 | *(tc->dirfilter) = dirfilter; | 1585 | *(tc->dirfilter) = dirfilter; |
1586 | global_settings.sort_dir = sort_dir; | 1586 | global_settings.sort_dir = sort_dir; |