r16093 - gnucash/trunk/src/import-export/qif-import - In QIF import, do not cat and merge accounts if imported_account_tree is empty.

Andreas Köhler andi5 at cvs.gnucash.org
Fri May 18 10:54:12 EDT 2007


Author: andi5
Date: 2007-05-18 10:54:08 -0400 (Fri, 18 May 2007)
New Revision: 16093
Trac: http://svn.gnucash.org/trac/changeset/16093

Modified:
   gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
Log:
In QIF import, do not cat and merge accounts if imported_account_tree is empty.

If an error occurs while importing, imported_account_tree will be set to
#f, whereas functions called by gnc:account-tree-catenate-and-merge
would expect empty lists.  So do not call that function at all.




More information about the gnucash-patches mailing list