From f106a75710b472fd7f61492fa4564e72d0710bcb Mon Sep 17 00:00:00 2001 From: Kaian Date: Fri, 5 Feb 2016 13:43:26 +0100 Subject: [PATCH] cl: fix autoscroll with new scrollbar --- src/curses/ui_call_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curses/ui_call_list.c b/src/curses/ui_call_list.c index a1886b3..2cb8b93 100644 --- a/src/curses/ui_call_list.c +++ b/src/curses/ui_call_list.c @@ -273,7 +273,7 @@ call_list_draw_list(ui_t *ui) // If autoscroll is enabled, select the last dialog if (info->autoscroll) { - call_list_handle_key(ui, key_action_key(ACTION_END)); + call_list_move(ui, vector_count(info->dcalls)); } // If no active call, use the fist one (if exists)