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>
This commit is contained in:
parent
55bbbaefac
commit
f91208c2f4
@ -120,6 +120,7 @@ static inline void key_add_item(void)
|
|||||||
{
|
{
|
||||||
switch (wins_slctd()) {
|
switch (wins_slctd()) {
|
||||||
case APP:
|
case APP:
|
||||||
|
case CAL:
|
||||||
ui_day_item_add();
|
ui_day_item_add();
|
||||||
do_storage(0);
|
do_storage(0);
|
||||||
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
|
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user