diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-22 11:57:08 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-22 11:57:08 +0300 |
commit | 6c9914b729a8e020b44018bcc3aa950c8322b313 (patch) | |
tree | 8e87e140f0882d4aac7efd9ea37141730e5d3837 /src/ui/sidebarwidget.c | |
parent | c56870ab69b71887d703f51881c26ac79f4b7969 (diff) |
ListWidget: Use SmoothScroll
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index cb084ccc..e7dcadde 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -426,9 +426,8 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { | |||
426 | default: | 426 | default: |
427 | break; | 427 | break; |
428 | } | 428 | } |
429 | if (!scrollOffset_ListWidget(d->list, 0)) { | 429 | scrollOffset_ListWidget(d->list, 0); |
430 | updateVisible_ListWidget(d->list); | 430 | updateVisible_ListWidget(d->list); |
431 | } | ||
432 | invalidate_ListWidget(d->list); | 431 | invalidate_ListWidget(d->list); |
433 | /* Content for a blank tab. */ | 432 | /* Content for a blank tab. */ |
434 | if (isEmpty) { | 433 | if (isEmpty) { |