- When handleRecurrence was cloning the parent task, it failed to set
  a new ID, so all the child tasks were given the ID of the parent.
- Cleaned up bug.annual.t.
This commit is contained in:
Paul Beckingham 2011-09-01 01:05:59 -04:00
parent 63dfb17bbc
commit f19a09b390
3 changed files with 10 additions and 18 deletions

View file

@ -94,6 +94,7 @@ void handleRecurrence ()
Task rec (*t); // Clone the parent.
rec.setStatus (Task::pending); // Change the status.
rec.id = context.tdb2.next_id (); // New ID.
rec.set ("uuid", uuid ()); // New UUID.
rec.set ("parent", t->get ("uuid")); // Remember mom.
rec.setEntry (); // New entry date.