r15593 - gnucash/branches/gda-dev/src/backend/gda - 1) Include missing header to fix compilation warning
Phil Longstaff
plongstaff at cvs.gnucash.org
Sat Feb 17 23:02:50 EST 2007
Author: plongstaff
Date: 2007-02-17 23:02:48 -0500 (Sat, 17 Feb 2007)
New Revision: 15593
Trac: http://svn.gnucash.org/trac/changeset/15593
Modified:
gnucash/branches/gda-dev/src/backend/gda/gnc-account-gda.c
gnucash/branches/gda-dev/src/backend/gda/gnc-commodity-gda.c
Log:
1) Include missing header to fix compilation warning
2) If a new account is created from the register (by typing a new account name and responding "Yes" when asked if you want to create it), the account is created and the name is set, and then the account dialog is opened. Setting the name forces a commit, but there is no commodity yet. Therefore, if there is no commodity, ignore the commit.
More information about the gnucash-patches
mailing list