mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug Fix - Bug #242
- Fixed bug that caused the reported ID after an add to be incorrect.
This commit is contained in:
parent
af49ccf508
commit
0499bfff49
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue