mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #564
- Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks to Peter De Poorter).
This commit is contained in:
parent
367c32c050
commit
3d7bb9d253
11 changed files with 44 additions and 44 deletions
|
@ -309,7 +309,10 @@ int TDB::loadPending (std::vector <Task>& tasks, Filter& filter)
|
|||
{
|
||||
// TODO Add hidden attribute indicating source?
|
||||
Task task (line);
|
||||
task.id = mId++;
|
||||
|
||||
Task::status status = task.getStatus ();
|
||||
if (status != Task::recurring)
|
||||
task.id = mId++;
|
||||
|
||||
mPending.push_back (task);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue