summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 1d590286e2..a107d1cdd0 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -161,8 +161,9 @@ int init_dircache(bool preinit)
{
backlight_on();
show_logo();
- settings_save();
}
+ global_settings.dircache_size = dircache_get_cache_size();
+ settings_save();
}
return result;