- Added missing TDB2::commit call to commands that handleRecurrence.
  The missing commit would have meant no updates to the data when
  recurring tasks are generated.
This commit is contained in:
Paul Beckingham 2011-08-30 00:15:40 -04:00
parent 32164680ab
commit 7f1e517754
2 changed files with 4 additions and 6 deletions

View file

@ -52,6 +52,7 @@ int CmdCount::execute (std::string& output)
handleRecurrence ();
std::vector <Task> filtered;
filter (filtered);
context.tdb2.commit ();
// Find number of matching tasks. Skip recurring parent tasks.
int count = 0;