diff options
-rw-r--r-- | apps/recorder/keyboard.c | 8 | ||||
-rw-r--r-- | docs/CREDITS | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index d1756ace2c..cb982e38e6 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -259,6 +259,8 @@ int kbd_input(char* text, int buflen) | |||
259 | int button, lastbutton = 0; | 259 | int button, lastbutton = 0; |
260 | #ifdef HAS_BUTTONBAR | 260 | #ifdef HAS_BUTTONBAR |
261 | struct gui_buttonbar buttonbar; | 261 | struct gui_buttonbar buttonbar; |
262 | bool buttonbar_config = global_settings.buttonbar; | ||
263 | global_settings.buttonbar = true; | ||
262 | gui_buttonbar_init(&buttonbar); | 264 | gui_buttonbar_init(&buttonbar); |
263 | gui_buttonbar_set_display(&buttonbar, &(screens[SCREEN_MAIN]) ); | 265 | gui_buttonbar_set_display(&buttonbar, &(screens[SCREEN_MAIN]) ); |
264 | #endif | 266 | #endif |
@@ -401,6 +403,9 @@ int kbd_input(char* text, int buflen) | |||
401 | 403 | ||
402 | case KBD_ABORT: | 404 | case KBD_ABORT: |
403 | lcd_setfont(FONT_UI); | 405 | lcd_setfont(FONT_UI); |
406 | #ifdef HAS_BUTTONBAR | ||
407 | global_settings.buttonbar=buttonbar_config; | ||
408 | #endif | ||
404 | return -1; | 409 | return -1; |
405 | break; | 410 | break; |
406 | 411 | ||
@@ -734,6 +739,9 @@ int kbd_input(char* text, int buflen) | |||
734 | if (button != BUTTON_NONE) | 739 | if (button != BUTTON_NONE) |
735 | lastbutton = button; | 740 | lastbutton = button; |
736 | } | 741 | } |
742 | #ifdef HAS_BUTTONBAR | ||
743 | global_settings.buttonbar=buttonbar_config; | ||
744 | #endif | ||
737 | lcd_setfont(FONT_UI); | 745 | lcd_setfont(FONT_UI); |
738 | 746 | ||
739 | return 0; | 747 | return 0; |
diff --git a/docs/CREDITS b/docs/CREDITS index 8408491a8d..e6fcf916e6 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -181,3 +181,4 @@ Nils Wallménius | |||
181 | Naoaki Okazaki | 181 | Naoaki Okazaki |
182 | Will Dyson | 182 | Will Dyson |
183 | Matthias Mohr | 183 | Matthias Mohr |
184 | Christian Marg | ||