mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Transaction.c: Note a bug discovered in testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23135 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4ac2182cce
commit
6c49aad96e
@ -1590,6 +1590,9 @@ xaccTransRollbackEdit (Transaction *trans)
|
||||
/* The splits at the front of trans->splits are exactly the same
|
||||
splits as in the original, but some of them may have changed, so
|
||||
we restore only those. */
|
||||
/* FIXME: Runs off the transaction's splits, so deleted splits are not
|
||||
* restored!
|
||||
*/
|
||||
num_preexist = g_list_length(orig->splits);
|
||||
slist = g_list_copy(trans->splits);
|
||||
for (i = 0, node = slist, onode = orig->splits; node;
|
||||
|
Loading…
Reference in New Issue
Block a user