Automatically select new appointments/events

This is a follow-up to commit 65b699f (Make automatic selection of
appointments/events smarter, 2016-02-16). Newly created appointments and
events are now selected automatically.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2016-09-28 19:00:01 +02:00
parent ab9256adf0
commit 1af9ccccd7
2 changed files with 11 additions and 10 deletions

View File

@@ -120,7 +120,6 @@ static inline void key_generic_config_menu(void)
static inline void key_generic_add_appt(void)
{
ui_day_item_add();
do_storage(1);
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
}
@@ -136,7 +135,6 @@ static inline void key_add_item(void)
case APP:
case CAL:
ui_day_item_add();
do_storage(0);
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
break;
case TOD: