diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 76c8491f6c..a8a7a3f968 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -2652,13 +2652,15 @@ static const struct the_menu_item menuitems[] = { | |||
2652 | }; | 2652 | }; |
2653 | static int menu_action_callback(int btn, struct gui_synclist *lists) | 2653 | static int menu_action_callback(int btn, struct gui_synclist *lists) |
2654 | { | 2654 | { |
2655 | int i; | ||
2655 | if (btn == ACTION_STD_OK) | 2656 | if (btn == ACTION_STD_OK) |
2656 | { | 2657 | { |
2657 | int oldbars = viewportmanager_set_statusbar(VP_SB_HIDE_ALL); | 2658 | FOR_NB_SCREENS(i) |
2659 | viewportmanager_theme_enable(i, false, NULL); | ||
2658 | menuitems[gui_synclist_get_sel_pos(lists)].function(); | 2660 | menuitems[gui_synclist_get_sel_pos(lists)].function(); |
2659 | btn = ACTION_REDRAW; | 2661 | btn = ACTION_REDRAW; |
2660 | send_event(GUI_EVENT_REFRESH, NULL); | 2662 | FOR_NB_SCREENS(i) |
2661 | viewportmanager_set_statusbar(oldbars); | 2663 | viewportmanager_theme_undo(i); |
2662 | } | 2664 | } |
2663 | return btn; | 2665 | return btn; |
2664 | } | 2666 | } |