mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Maintain the account hierarchy when reparenting the descendants of a
deleted account. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14700 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
088a1f9e26
commit
25785e834e
@ -1,3 +1,8 @@
|
||||
2006-08-20 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome/gnc-plugin-page-account-tree.c: Maintain the account
|
||||
hierarchy when reparenting the descendants of a deleted account.
|
||||
|
||||
2006-08-20 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/hbci/gnc-dtaus-import.[ch], gnc-plugin-hbci.c:
|
||||
|
@ -1048,7 +1048,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag
|
||||
GList *acct_list, *ptr;
|
||||
|
||||
xaccAccountBeginEdit (daa);
|
||||
acct_list = xaccGroupGetSubAccounts(children);
|
||||
acct_list = g_list_copy(xaccGroupGetAccountList(children));
|
||||
for (ptr = acct_list; ptr; ptr = g_list_next(ptr))
|
||||
xaccAccountInsertSubAccount (daa, ptr->data);
|
||||
g_list_free(acct_list);
|
||||
|
Loading…
Reference in New Issue
Block a user