summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 8440a597..674e2b7c 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -582,7 +582,9 @@ static void updateItemHeight_SidebarWidget_(iSidebarWidget *d) {
582 if (d->list) { 582 if (d->list) {
583 setItemHeight_ListWidget(d->list, heights[d->mode] * lineHeight_Text(d->itemFonts[0])); 583 setItemHeight_ListWidget(d->list, heights[d->mode] * lineHeight_Text(d->itemFonts[0]));
584 } 584 }
585 updateItemHeight_CertListWidget(d->certList); 585 if (d->certList) {
586 updateItemHeight_CertListWidget(d->certList);
587 }
586} 588}
587 589
588iBool setMode_SidebarWidget(iSidebarWidget *d, enum iSidebarMode mode) { 590iBool setMode_SidebarWidget(iSidebarWidget *d, enum iSidebarMode mode) {