summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 59e7343600..2407be9d79 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -427,7 +427,10 @@ static void ft_load_font(char *file)
current_font_id = global_status.font_id[screen];
if (current_font_id >= 0)
font_unload(current_font_id);
- global_status.font_id[screen] = font_load(file);
+ current_font_id = font_load(file);
+ if(screen==SCREEN_MAIN)
+ font_set_ui(current_font_id);
+ global_status.font_id[screen] = current_font_id;
viewportmanager_theme_changed(THEME_UI_VIEWPORT);
}
#endif