diff options
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r-- | apps/recorder/keyboard.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 0fa1d32503..160779f7ae 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "viewport.h" | 39 | #include "viewport.h" |
40 | #include "file.h" | 40 | #include "file.h" |
41 | #include "splash.h" | 41 | #include "splash.h" |
42 | #include "appevents.h" | ||
42 | 43 | ||
43 | #ifndef O_BINARY | 44 | #ifndef O_BINARY |
44 | #define O_BINARY 0 | 45 | #define O_BINARY 0 |
@@ -1243,11 +1244,13 @@ int kbd_input(char* text, int buflen) | |||
1243 | global_settings.buttonbar = buttonbar_config; | 1244 | global_settings.buttonbar = buttonbar_config; |
1244 | #endif | 1245 | #endif |
1245 | 1246 | ||
1247 | if (ret < 0) | ||
1248 | splash(HZ/2, ID2P(LANG_CANCEL)); | ||
1249 | |||
1246 | FOR_NB_SCREENS(l) | 1250 | FOR_NB_SCREENS(l) |
1247 | screens[l].setfont(FONT_UI); | 1251 | screens[l].setfont(FONT_UI); |
1248 | viewportmanager_set_statusbar(oldbars); | 1252 | viewportmanager_set_statusbar(oldbars); |
1253 | send_event(GUI_EVENT_REFRESH, NULL); | ||
1249 | 1254 | ||
1250 | if (ret < 0) | ||
1251 | splash(HZ/2, ID2P(LANG_CANCEL)); | ||
1252 | return ret; | 1255 | return ret; |
1253 | } | 1256 | } |