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 f2dca7de3e8b164a4b3af3d58dde2f6776bfbee6. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
9d667e06d8
commit
d5cbe794e9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user