r13601 - gnucash/trunk/src - Change the account removal event back
to using the parent account instead of
Chris Shoemaker
chris at cvs.gnucash.org
Sat Mar 11 14:39:17 EST 2006
Author: chris
Date: 2006-03-11 14:39:16 -0500 (Sat, 11 Mar 2006)
New Revision: 13601
Trac: http://svn.gnucash.org/trac/changeset/13601
Modified:
gnucash/trunk/src/engine/Group.c
gnucash/trunk/src/gnome-utils/gnc-tree-model-account.c
Log:
Change the account removal event back to using the parent account instead of
the group, but delay the nulling of the account's group pointer until after
the generation of the remove event. That way, the tree model can verify
that the removed account's root is the same as the root for the model.
Also, in the model's event handler, check that accounts are in the same book
as the model is for.
More information about the gnucash-patches
mailing list