Changing the transaction number can affect the split sort order and

thus the running account balances.  Fixes #386074.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15989 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2007-04-22 20:04:53 +00:00
parent 6582c6b95b
commit ecd3e31481

View File

@@ -1428,6 +1428,7 @@ xaccTransSetNum (Transaction *trans, const char *xnum)
CACHE_REPLACE(trans->num, xnum);
qof_instance_set_dirty(QOF_INSTANCE(trans));
mark_trans(trans); /* Dirty balance of every account in trans */
xaccTransCommitEdit(trans);
}