summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 295b5fa78d..00d84cb446 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -101,6 +101,7 @@ static struct viewport parent[NB_SCREENS] =
101void list_init_viewports(struct gui_synclist *list) 101void list_init_viewports(struct gui_synclist *list)
102{ 102{
103 (void)list; 103 (void)list;
104 force_list_reinit = false;
104} 105}
105#endif 106#endif
106 107
@@ -231,7 +232,7 @@ void gui_synclist_draw(struct gui_synclist *gui_list)
231 gui_list->nb_items != last_count) 232 gui_list->nb_items != last_count)
232 { 233 {
233 list_init_viewports(gui_list); 234 list_init_viewports(gui_list);
234 force_list_reinit = false; 235 gui_synclist_select_item(gui_list, gui_list->selected_item);
235 } 236 }
236#ifdef HAVE_BUTTONBAR 237#ifdef HAVE_BUTTONBAR
237 last_buttonbar = screens[SCREEN_MAIN].has_buttonbar; 238 last_buttonbar = screens[SCREEN_MAIN].has_buttonbar;