diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/root_menu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index b9847dfd54..3b301e6d3a 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -102,6 +102,7 @@ static int browser(void* param) | |||
102 | break; | 102 | break; |
103 | #ifdef HAVE_TAGCACHE | 103 | #ifdef HAVE_TAGCACHE |
104 | case GO_TO_DBBROWSER: | 104 | case GO_TO_DBBROWSER: |
105 | #if 0 /* Revert this for now */ | ||
105 | if (!tagcache_is_usable()) | 106 | if (!tagcache_is_usable()) |
106 | { | 107 | { |
107 | bool reinit_attempted = false; | 108 | bool reinit_attempted = false; |
@@ -164,6 +165,13 @@ static int browser(void* param) | |||
164 | } | 165 | } |
165 | if (!tagcache_is_usable()) | 166 | if (!tagcache_is_usable()) |
166 | return GO_TO_PREVIOUS; | 167 | return GO_TO_PREVIOUS; |
168 | #else /* The old code */ | ||
169 | if ((last_screen != GO_TO_ROOT) && !tagcache_is_usable()) | ||
170 | { | ||
171 | gui_syncsplash(0, true, str(LANG_TAGCACHE_BUSY)); | ||
172 | return GO_TO_PREVIOUS; | ||
173 | } | ||
174 | #endif /* Sorry for the interruption */ | ||
167 | filter = SHOW_ID3DB; | 175 | filter = SHOW_ID3DB; |
168 | tc->dirlevel = last_db_dirlevel; | 176 | tc->dirlevel = last_db_dirlevel; |
169 | break; | 177 | break; |