summaryrefslogtreecommitdiff
path: root/src/ui-todo.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-15 21:49:32 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:03:13 +0200
commitcf1565648bde10103b1aae14a253b3e13bb380db (patch)
tree62c87a42dc011180b2b06d419b6c5d14560dbde4 /src/ui-todo.c
parent655218b7df40b3e159119933a4fa18efca2ff940 (diff)
downloadcalcurse-cf1565648bde10103b1aae14a253b3e13bb380db.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/ui-todo.c')
-rw-r--r--src/ui-todo.c1
1 files changed, 0 insertions, 1 deletions
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();
}
}