aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2015-02-23 19:59:58 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2015-02-23 19:59:58 +0100
commitf91208c2f43d6fda12f410840a0a1cd63091a9d3 (patch)
tree7caba924c4773dadc0421ce12f5cd5e30d26b9b9
parent55bbbaeface6212dba6246717b1347888e831ff4 (diff)
downloadcalcurse-f91208c2f43d6fda12f410840a0a1cd63091a9d3.tar.gz
calcurse-f91208c2f43d6fda12f410840a0a1cd63091a9d3.zip
Make "Add Item" work from the calendar panel
Support the "Add item" key binding in the calendar panel and make it add a new appointment. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r--src/calcurse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index ae7e71e..a29eae0 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -120,6 +120,7 @@ static inline void key_add_item(void)
{
switch (wins_slctd()) {
case APP:
+ case CAL:
ui_day_item_add();
do_storage(0);
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);