summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-20 20:12:03 +0100
committerWilliam Wilgus <me.theuser@yahoo.com>2022-02-06 11:20:34 -0500
commit8d453ae9c3beef82bd61401af6216f74a400cbd0 (patch)
tree872bdc0769be213eceec8bb8548cf522ebb6629b /apps/menu.c
parent04cbb3c7e4a79a6c06ad3cd585b8f0a54a8d0714 (diff)
downloadrockbox-8d453ae9c3beef82bd61401af6216f74a400cbd0.tar.gz
rockbox-8d453ae9c3beef82bd61401af6216f74a400cbd0.zip
Fix glitches with custom list title viewports
Elements were not being drawn correctly or title text appeared delayed in several places when using themes with a custom viewport for list titles. E.g.: - after deleting a shortcut - when returning from a warning screen in Playlist Viewer - returning to some Settings screens - in "Playing time" screen Change-Id: I8ab07a31d4b6f290e089ecd7857f43ec195a06e0
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 802a16bbb8..ab5578dede 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -738,6 +738,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
if (menu_callback(ACTION_REDRAW, menu, &lists) != ACTION_REDRAW)
continue;
+
+ gui_synclist_set_title(&lists, lists.title, lists.title_icon);
gui_synclist_draw(&lists);
gui_synclist_speak_item(&lists);
}