Bug Fix - Bug #242

-  Fixed bug that caused the reported ID after an add to be incorrect.
This commit is contained in:
Paul Beckingham 2009-08-04 16:08:56 -06:00
parent af49ccf508
commit 0499bfff49
2 changed files with 3 additions and 0 deletions

View file

@ -94,6 +94,7 @@ std::string handleAdd ()
// All this, just for an id number.
std::vector <Task> all;
Filter none;
handleRecurrence ();
context.tdb.loadPending (all, none);
out << "Created task " << context.tdb.nextId () << std::endl;
#endif