mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 04:23:24 +02:00
Feature #1054
Require confirmation for replacing the entire description of a single task.
This commit is contained in:
parent
c6c99c2e38
commit
b230da75e6
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue