When a status flag (! or *) is explicitly specified for an individual posting, it always has a priority over entire transaction status.

This commit is contained in:
Max Satula 2014-06-30 13:39:22 -04:00
parent add716f776
commit de17ccf1f4

View file

@ -1434,8 +1434,7 @@ post_t * instance_t::parse_post(char * line,
}
if (xact &&
((xact->_state == item_t::CLEARED && post->_state != item_t::CLEARED) ||
(xact->_state == item_t::PENDING && post->_state == item_t::UNCLEARED)))
(xact->_state != item_t::UNCLEARED && post->_state == item_t::UNCLEARED))
post->set_state(xact->_state);
// Parse the account name