Bug Fix - Bug #242
- Fixed bug that caused the reported ID after an add to be incorrect.
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
11 and likely anything using bash-4 (thanks to John Florian).
|
11 and likely anything using bash-4 (thanks to John Florian).
|
||||||
+ Fixed bug that displays the wrong .taskrc file name on override (thanks to
|
+ Fixed bug that displays the wrong .taskrc file name on override (thanks to
|
||||||
Federico Hernandez).
|
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 ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ std::string handleAdd ()
|
|||||||
// All this, just for an id number.
|
// All this, just for an id number.
|
||||||
std::vector <Task> all;
|
std::vector <Task> all;
|
||||||
Filter none;
|
Filter none;
|
||||||
|
handleRecurrence ();
|
||||||
context.tdb.loadPending (all, none);
|
context.tdb.loadPending (all, none);
|
||||||
out << "Created task " << context.tdb.nextId () << std::endl;
|
out << "Created task " << context.tdb.nextId () << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user