From cf1565648bde10103b1aae14a253b3e13bb380db Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 15 May 2014 21:49:32 +0200 Subject: ui-calendar: Use scroll window implementation Make use of the generic scroll window implementation for the calendar view. Note that this is useful despite the panel not needing a scroll bar, since the scroll window functions can be used to draw the panel border and take care of relative positions. Signed-off-by: Lukas Fleischer --- src/ui-todo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui-todo.c') diff --git a/src/ui-todo.c b/src/ui-todo.c index 930b595..c7b29f4 100644 --- a/src/ui-todo.c +++ b/src/ui-todo.c @@ -53,7 +53,6 @@ void ui_todo_add(void) ch = wgetch(win[KEY].p); } todo_add(todo_input, ch - '0', NULL); - ui_todo_sel_move(1); ui_todo_load_items(); } } -- cgit v1.2.3