summaryrefslogtreecommitdiff
path: root/src/timelog.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-11 04:32:27 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-11 04:35:18 -0500
commitf1b495abfea31f4777b74715631dd45f9f4d8ed1 (patch)
tree2d4e9c857c00ead220e06f063db22e8a2075d899 /src/timelog.cc
parentdae24c259ba70cfdba92a5d66bc424eef5773188 (diff)
downloadfork-ledger-f1b495abfea31f4777b74715631dd45f9f4d8ed1.tar.gz
fork-ledger-f1b495abfea31f4777b74715631dd45f9f4d8ed1.tar.bz2
fork-ledger-f1b495abfea31f4777b74715631dd45f9f4d8ed1.zip
Added some missing calls to add_post
Diffstat (limited to 'src/timelog.cc')
-rw-r--r--src/timelog.cc1
1 files changed, 1 insertions, 0 deletions
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"));