mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Bug Fix - add with no status
- Tasks were not assigned a default status of Task::pending when added.
This commit is contained in:
parent
d961dfda59
commit
d4a9a387af
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ std::string handleAdd ()
|
||||||
context.task.setStatus (Task::recurring);
|
context.task.setStatus (Task::recurring);
|
||||||
context.task.set ("mask", "");
|
context.task.set ("mask", "");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
context.task.setStatus (Task::pending);
|
||||||
|
|
||||||
// Override with default.project, if not specified.
|
// Override with default.project, if not specified.
|
||||||
if (context.task.get ("project") == "")
|
if (context.task.get ("project") == "")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue