From d5cbe794e990d6b5e9d68551496adf22218cfc63 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 3 Feb 2013 09:54:12 +0100 Subject: 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 --- src/calcurse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/calcurse.c b/src/calcurse.c index 43189b0..964d8ac 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -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) -- cgit v1.2.3-70-g09d2