Feature #1054
Require confirmation for replacing the entire description of a single task.
This commit is contained in:
@@ -424,7 +424,10 @@ 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 ())
|
||||||
task.set ("description", description);
|
{
|
||||||
|
_needs_confirm = true;
|
||||||
|
task.set ("description", description);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user