summaryrefslogtreecommitdiffstats
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 ccb51959ff..25a793810e 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -112,7 +112,8 @@ static struct viewport parent[NB_SCREENS] =
#ifdef HAVE_LCD_BITMAP
bool list_display_title(struct gui_synclist *list, enum screen_type screen)
{
- return list->title != NULL &&
+ return list->title != NULL &&
+ !sb_set_title_text(list->title, list->title_icon, screen) &&
viewport_get_nb_lines(list->parent[screen]) > 2;
}