Require confirmation for replacing the entire description of a single task.
This commit is contained in:
Johannes Schlatow 2013-01-25 00:15:00 +01:00
parent c6c99c2e38
commit b230da75e6

View file

@ -424,7 +424,10 @@ void Command::modify_task_description_replace (Task& task, const A3& arguments)
modify_task (task, arguments, description);
if (description.length ())
task.set ("description", description);
{
_needs_confirm = true;
task.set ("description", description);
}
}
////////////////////////////////////////////////////////////////////////////////