summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 24ddcd6302..340175c0d0 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -92,7 +92,7 @@ static void list_init_viewports(struct gui_synclist *list)
list->parent[i] = &parent[i];
viewport_set_defaults(&parent[i], i);
#ifdef HAVE_BUTTONBAR
- if (screens[i].has_buttonbar && !viewport_ui_vp_get_state(i))
+ if (screens[i].has_buttonbar)
list->parent[i]->height -= BUTTONBAR_HEIGHT;
#endif
}