diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/theme_menu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c index a0e4f02871..704bbe6df1 100644 --- a/apps/menus/theme_menu.c +++ b/apps/menus/theme_menu.c | |||
@@ -162,12 +162,16 @@ static int statusbar_callback_ex(int action,const struct menu_item_ex *this_item | |||
162 | old_bar[screen] = statusbar_position(screen); | 162 | old_bar[screen] = statusbar_position(screen); |
163 | break; | 163 | break; |
164 | case ACTION_EXIT_MENUITEM: | 164 | case ACTION_EXIT_MENUITEM: |
165 | gui_statusbar_changed(screen, old_bar[screen]); | ||
166 | send_event(GUI_EVENT_STATUSBAR_TOGGLE, NULL); | 165 | send_event(GUI_EVENT_STATUSBAR_TOGGLE, NULL); |
167 | send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); | 166 | send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); |
167 | if ((old_bar[screen] == STATUSBAR_CUSTOM) | ||
168 | || (statusbar_position(screen) == STATUSBAR_CUSTOM)) | ||
169 | send_event(GUI_EVENT_REFRESH, NULL); | ||
170 | else | ||
171 | gui_statusbar_changed(screen, old_bar[screen]); | ||
168 | break; | 172 | break; |
169 | } | 173 | } |
170 | return action; | 174 | return ACTION_REDRAW; |
171 | } | 175 | } |
172 | 176 | ||
173 | #ifdef HAVE_REMOTE_LCD | 177 | #ifdef HAVE_REMOTE_LCD |