Bug Fix - add with no status
- Tasks were not assigned a default status of Task::pending when added.
This commit is contained in:
@@ -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") == "")
|
||||||
|
|||||||
Reference in New Issue
Block a user