r18407 - gnucash/trunk/src/gnome-utils - When creating an account selector and a commodity list if provider, just duplicate

Phil Longstaff plongstaff at code.gnucash.org
Sun Nov 8 13:59:42 EST 2009


Author: plongstaff
Date: 2009-11-08 13:59:39 -0500 (Sun, 08 Nov 2009)
New Revision: 18407
Trac: http://svn.gnucash.org/trac/changeset/18407

Modified:
   gnucash/trunk/src/gnome-utils/gnc-account-sel.c
Log:
When creating an account selector and a commodity list if provider, just duplicate
the list rather than making a copy of each commodity.  When a copy is made, this
copy is stored in the db, but is never deleted.  This causes problems (loss of
reference from account/tx to commodity) when the file is reloaded.




More information about the gnucash-patches mailing list