r13834 - gnucash/trunk/src/register/ledger-core - Don't immediately commit the blank transaction after creating it.

Chris Shoemaker chris at cvs.gnucash.org
Sun Apr 23 19:01:48 EDT 2006


Author: chris
Date: 2006-04-23 19:01:46 -0400 (Sun, 23 Apr 2006)
New Revision: 13834
Trac: http://svn.gnucash.org/trac/changeset/13834

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-control.c
   gnucash/trunk/src/register/ledger-core/split-register-load.c
   gnucash/trunk/src/register/ledger-core/split-register.c
Log:
   Don't immediately commit the blank transaction after creating it.
   When saving the register state, don't commit an open transaction unless
   we think it was opened from this register.

   These changes are intended to fix bug #327780.  I've also added several 
   related assertions.  If any of these assertions fail, it may indicate that
   I don't really understand what's going on, and that this may not be the 
   correct fix for #327780.




More information about the gnucash-patches mailing list