summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index bbe56e119c..7b4f5e7ed8 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -41,6 +41,9 @@
41#include "dircache.h" 41#include "dircache.h"
42#include "splash.h" 42#include "splash.h"
43#include "yesno.h" 43#include "yesno.h"
44#ifdef HAVE_LCD_BITMAP
45#include "keyboard.h"
46#endif
44 47
45#ifndef SIMULATOR 48#ifndef SIMULATOR
46static int boot_size = 0; 49static int boot_size = 0;
@@ -462,6 +465,12 @@ int ft_enter(struct tree_context* c)
462 font_load(buf); 465 font_load(buf);
463 set_file(buf, (char *)global_settings.font_file, MAX_FILENAME); 466 set_file(buf, (char *)global_settings.font_file, MAX_FILENAME);
464 break; 467 break;
468
469 case TREE_ATTR_KBD:
470 if (!load_kbd(buf))
471 gui_syncsplash(HZ, true, str(LANG_KEYBOARD_LOADED));
472 set_file(buf, (char *)global_settings.kbd_file, MAX_FILENAME);
473 break;
465#endif 474#endif
466 475
467#ifndef SIMULATOR 476#ifndef SIMULATOR