Merge pull request #306 from maxsatula/status-behavior
Status (cleared/pending/uncleared) processing behavior
This commit is contained in:
commit
2634013884
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue