From 432a698a2b4c779f0962b0e96df0b1af41c340de Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Wed, 7 Jun 2006 20:42:42 +0000 Subject: Properly reload tagcache when directory updated. Fixes B#5512. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10090 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/tree.c b/apps/tree.c index 72e7bc4504..00ca7c8e19 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -303,7 +303,8 @@ static int update_dir(void) if (id3db) { if (tc.currtable != lasttable || tc.currextra != lastextra || - tc.firstpos != lastfirstpos) + tc.firstpos != lastfirstpos || + reload_dir) { if (tagtree_load(&tc) < 0) return -1; -- cgit v1.2.3