mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Initialize the qof entity in the new split, not the old one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12048 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9f1961b54a
commit
bd554767b3
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-26 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/engine/Transaction.c: Initialize the qof entity in the new
|
||||||
|
split, not the old one.
|
||||||
|
|
||||||
2005-11-25 David Hampton <hampton@employees.org>
|
2005-11-25 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
* src/business/dialog-tax-table/dialog-tax-table.c: Andreas
|
* src/business/dialog-tax-table/dialog-tax-table.c: Andreas
|
||||||
|
@ -213,7 +213,7 @@ xaccSplitClone (Split *s)
|
|||||||
split->gains_split = NULL;
|
split->gains_split = NULL;
|
||||||
|
|
||||||
col = qof_book_get_collection (s->book, GNC_ID_SPLIT);
|
col = qof_book_get_collection (s->book, GNC_ID_SPLIT);
|
||||||
qof_entity_init (&s->entity, GNC_ID_SPLIT, col);
|
qof_entity_init (&split->entity, GNC_ID_SPLIT, col);
|
||||||
|
|
||||||
xaccAccountInsertSplit(s->acc, split);
|
xaccAccountInsertSplit(s->acc, split);
|
||||||
if (s->lot)
|
if (s->lot)
|
||||||
|
Loading…
Reference in New Issue
Block a user