diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-23 19:59:58 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2015-02-23 19:59:58 +0100 |
commit | f91208c2f43d6fda12f410840a0a1cd63091a9d3 (patch) | |
tree | 7caba924c4773dadc0421ce12f5cd5e30d26b9b9 /src | |
parent | 55bbbaeface6212dba6246717b1347888e831ff4 (diff) | |
download | calcurse-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/calcurse.c | 1 |
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); |