summaryrefslogtreecommitdiff
path: root/apps/root_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 0dbf179d9e..9a9266f028 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -104,8 +104,15 @@ static int browser(void* param)
104 case GO_TO_DBBROWSER: 104 case GO_TO_DBBROWSER:
105 if (!tagcache_is_usable()) 105 if (!tagcache_is_usable())
106 { 106 {
107 /* Check if we're still initialising, so status is unknown */
108 struct tagcache_stat *stat = tagcache_get_stat();
109 if (!stat->initialized)
110 {
111 gui_syncsplash(HZ*2, true, str(LANG_TAGCACHE_BUSY));
112 return GO_TO_PREVIOUS;
113 }
114
107 /* Re-init if required */ 115 /* Re-init if required */
108 struct tagcache_stat *stat = tagcache_get_stat();
109 if (!stat->ready && !stat->commit_delayed && stat->processed_entries == 0) 116 if (!stat->ready && !stat->commit_delayed && stat->processed_entries == 0)
110 { 117 {
111 /* Prompt the user */ 118 /* Prompt the user */