Bug #803
- Here's a patch to make Taskwarrior not display the prompt and not delete the parent task if a recurring task is deleted when rc.confirmation is false. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
56af60ceaf
commit
0962b66928
@@ -92,7 +92,8 @@ int CmdDelete::execute (std::string& output)
|
||||
std::string parent = task->get ("parent");
|
||||
if (parent != "")
|
||||
{
|
||||
if (confirm (STRING_CMD_DELETE_CONF_RECUR))
|
||||
if (context.config.getBoolean ("confirmation") &&
|
||||
confirm (STRING_CMD_DELETE_CONF_RECUR))
|
||||
{
|
||||
// Scan all pending tasks for siblings of this task, and the parent
|
||||
// itself, and delete them.
|
||||
|
||||
Reference in New Issue
Block a user