Merge pull request #509 from AerialX/patch-1
Transfer null_post flags to generated postings
This commit is contained in:
commit
699b2fc32c
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ namespace {
|
|||
first = false;
|
||||
} else {
|
||||
unique_ptr<post_t> p(new post_t(null_post->account, amount.negated(),
|
||||
ITEM_GENERATED | POST_CALCULATED));
|
||||
null_post->flags() | ITEM_GENERATED | POST_CALCULATED));
|
||||
p->set_state(null_post->state());
|
||||
xact.add_post(p.release());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue