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,8 +424,11 @@ void Command::modify_task_description_replace (Task& task, const A3& arguments)
modify_task (task, arguments, description); modify_task (task, arguments, description);
if (description.length ()) if (description.length ())
{
_needs_confirm = true;
task.set ("description", description); task.set ("description", description);
} }
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void Command::modify_task_description_prepend (Task& task, const A3& arguments) void Command::modify_task_description_prepend (Task& task, const A3& arguments)