Do not prompt for a todo after adding an appointment
We effectively turned the addition of an appointment into a fall through
case by deleting the break statement during refactoring. Revert this
deletion to skip the second prompt.
Regression introduced in f2dca7de3e.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -146,6 +146,7 @@ static inline void key_add_item(void)
|
||||
interact_day_item_add();
|
||||
inday = do_storage(0);
|
||||
wins_update(FLAG_CAL | FLAG_APP | FLAG_STA);
|
||||
break;
|
||||
case TOD:
|
||||
interact_todo_add();
|
||||
if (todo_hilt() == 0 && todo_nb() == 1)
|
||||
|
||||
Reference in New Issue
Block a user