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

@ -8,6 +8,8 @@
11 and likely anything using bash-4 (thanks to John Florian).
+ Fixed bug that displays the wrong .taskrc file name on override (thanks to
Federico Hernandez).
+ Fixed bug #242 that sometimes causes the ID echoed after a task is added
to be incorrect (thanks to John Florian).
------ old releases ------------------------------

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