Send an event when two accounts are merged.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9623 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2003-10-24 05:56:57 +00:00
parent 635c4b3810
commit 08d6c1625b

View File

@@ -930,6 +930,7 @@ xaccGroupMergeAccounts (AccountGroup *grp)
node_b = node_b->prev;
/* remove from list -- node_a is ok, it's before node_b */
gnc_engine_generate_event (&acc_b->guid, GNC_ID_ACCOUNT, GNC_EVENT_REMOVE);
grp->accounts = g_list_remove (grp->accounts, acc_b);
xaccAccountBeginEdit (acc_b);