summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-06 22:12:24 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-06 22:12:24 +0100
commit361d5c62d75b27be63395a2ef6667c80b5d132c7 (patch)
tree7994e5754eb62273b8a172164a04ebbc935e6839 /source
parent02dafeeccca16870a25a11fc6edbaaed8270700b (diff)
Draw scrollbar when list is empty.
Diffstat (limited to 'source')
-rw-r--r--source/widgets/listview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/widgets/listview.c b/source/widgets/listview.c
index a3015b5d..e2e61970 100644
--- a/source/widgets/listview.c
+++ b/source/widgets/listview.c
@@ -209,8 +209,8 @@ static void listview_draw ( widget *wid, cairo_t *draw )
widget_draw ( WIDGET ( lv->boxes[i] ), draw );
}
}
- widget_draw ( WIDGET ( lv->scrollbar ), draw );
}
+ widget_draw ( WIDGET ( lv->scrollbar ), draw );
}
static void listview_recompute_elements ( listview *lv )