From 0499bfff490f32b2b0f51346af0816990a593b7f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 4 Aug 2009 16:08:56 -0600 Subject: [PATCH] Bug Fix - Bug #242 - Fixed bug that caused the reported ID after an add to be incorrect. --- ChangeLog | 2 ++ src/command.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index bd560836c..febd1aa08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 ------------------------------ diff --git a/src/command.cpp b/src/command.cpp index a55599405..6432eafb7 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -94,6 +94,7 @@ std::string handleAdd () // All this, just for an id number. std::vector all; Filter none; + handleRecurrence (); context.tdb.loadPending (all, none); out << "Created task " << context.tdb.nextId () << std::endl; #endif