summaryrefslogtreecommitdiff
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 5ba8c2ecb1..e52a6c98ad 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -21,6 +21,7 @@
21#include <stddef.h> 21#include <stddef.h>
22#include <limits.h> 22#include <limits.h>
23#include "config.h" 23#include "config.h"
24#include "events.h"
24#include "lang.h" 25#include "lang.h"
25#include "action.h" 26#include "action.h"
26#include "settings.h" 27#include "settings.h"
@@ -35,6 +36,7 @@
35#include "lcd.h" 36#include "lcd.h"
36#include "lcd-remote.h" 37#include "lcd-remote.h"
37#include "backdrop.h" 38#include "backdrop.h"
39#include "statusbar.h"
38 40
39#ifdef HAVE_BACKLIGHT 41#ifdef HAVE_BACKLIGHT
40static int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item) 42static int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
@@ -300,6 +302,7 @@ static int statusbar_callback(int action,const struct menu_item_ex *this_item)
300 switch (action) 302 switch (action)
301 { 303 {
302 case ACTION_EXIT_MENUITEM: 304 case ACTION_EXIT_MENUITEM:
305 send_event(STATUSBAR_TOGGLE_EVENT, NULL);
303 /* this should be changed so only the viewports are reloaded */ 306 /* this should be changed so only the viewports are reloaded */
304 settings_apply(false); 307 settings_apply(false);
305 break; 308 break;