- Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks
  to Peter De Poorter).
This commit is contained in:
Paul Beckingham 2010-12-27 00:22:57 -05:00
parent 367c32c050
commit 3d7bb9d253
11 changed files with 44 additions and 44 deletions

View file

@ -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);