mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
bug fix -- reconcile code wasn't calling transaction begin/end edit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4372 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0d738a34b9
commit
64e9809878
@ -536,6 +536,7 @@ gnc_reconcile_list_commit (GNCReconcileList *list, time_t date)
|
||||
void
|
||||
gnc_reconcile_list_postpone (GNCReconcileList *list)
|
||||
{
|
||||
Transaction *trans;
|
||||
GtkCList *clist = GTK_CLIST(list);
|
||||
Split *split;
|
||||
int i;
|
||||
@ -554,7 +555,10 @@ gnc_reconcile_list_postpone (GNCReconcileList *list)
|
||||
|
||||
recn = g_hash_table_lookup (list->reconciled, split) ? CREC : NREC;
|
||||
|
||||
trans = xaccSplitGetParent(split);
|
||||
xaccTransBeginEdit(trans);
|
||||
xaccSplitSetReconcile (split, recn);
|
||||
xaccTransCommitEdit(trans);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user