From f1b495abfea31f4777b74715631dd45f9f4d8ed1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Nov 2009 04:32:27 -0500 Subject: Added some missing calls to add_post --- src/timelog.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/timelog.cc') diff --git a/src/timelog.cc b/src/timelog.cc index b18c436b..25bf8e94 100644 --- a/src/timelog.cc +++ b/src/timelog.cc @@ -107,6 +107,7 @@ namespace { post->set_state(item_t::CLEARED); post->pos = event.position; curr->add_post(post); + event.account->add_post(post); if (! journal.add_xact(curr.get())) throw parse_error(_("Failed to record 'out' timelog transaction")); -- cgit v1.2.3