diff options
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r-- | apps/plugins/text_editor.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 911b64e7ab..703b330d6c 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c | |||
@@ -326,14 +326,11 @@ enum plugin_status plugin_start(const void* parameter) | |||
326 | bool changed = false; | 326 | bool changed = false; |
327 | int cur_sel=0; | 327 | int cur_sel=0; |
328 | static char copy_buffer[MAX_LINE_LEN]; | 328 | static char copy_buffer[MAX_LINE_LEN]; |
329 | bool prev_show_statusbar; | ||
330 | #ifdef HAVE_LCD_COLOR | 329 | #ifdef HAVE_LCD_COLOR |
331 | bool edit_colors_file = false; | 330 | bool edit_colors_file = false; |
332 | #endif | 331 | #endif |
333 | 332 | ||
334 | copy_buffer[0]='\0'; | 333 | copy_buffer[0]='\0'; |
335 | prev_show_statusbar = rb->global_settings->statusbar; | ||
336 | rb->global_settings->statusbar = false; | ||
337 | 334 | ||
338 | #if LCD_DEPTH > 1 | 335 | #if LCD_DEPTH > 1 |
339 | rb->lcd_set_backdrop(NULL); | 336 | rb->lcd_set_backdrop(NULL); |
@@ -515,6 +512,5 @@ enum plugin_status plugin_start(const void* parameter) | |||
515 | } | 512 | } |
516 | rb->gui_synclist_set_nb_items(&lists,line_count); | 513 | rb->gui_synclist_set_nb_items(&lists,line_count); |
517 | } | 514 | } |
518 | rb->global_settings->statusbar = prev_show_statusbar; | ||
519 | return PLUGIN_OK; | 515 | return PLUGIN_OK; |
520 | } | 516 | } |