Bug #564
- Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks to Peter De Poorter).
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user