r19847 - gnucash/trunk/src/register/ledger-core - Bug #589954: No blank split after creating a new account "on the fly" while editing a transaction.

John Ralls jralls at code.gnucash.org
Fri Nov 19 17:22:01 EST 2010


Author: jralls
Date: 2010-11-19 17:22:01 -0500 (Fri, 19 Nov 2010)
New Revision: 19847
Trac: http://svn.gnucash.org/trac/changeset/19847

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-control.c
   gnucash/trunk/src/register/ledger-core/split-register-p.h
   gnucash/trunk/src/register/ledger-core/split-register.c
Log:
Bug #589954: No blank split after creating a new account "on the fly" while editing a transaction.

Cause was that gnc_split_register_get_account_by_name() turned of "full_refresh" if the account didn't already exist and turned it back on only if the name of the account actually created in the new account dialog box differed from the one originally entered in the transaction.

Since "full_refresh" isn't manipulated much, that effectively shut down the ledger for further editing. Probably not what the original author intended!





More information about the gnucash-patches mailing list