mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/business/business-core/gncTaxTable.c: when asking for
the child, return ourself if we're already a child instead of making a (useless) grandchild. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8432 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0f5ff6f114
commit
caeeb3c546
@ -1,3 +1,9 @@
|
||||
2003-05-28 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/business/business-core/gncTaxTable.c: when asking for
|
||||
the child, return ourself if we're already a child instead
|
||||
of making a (useless) grandchild.
|
||||
|
||||
2003-05-28 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/hbci/gnc-hbci-transfer.c, dialog-hbcitrans.c,
|
||||
|
@ -451,6 +451,7 @@ GncTaxTable *gncTaxTableReturnChild (GncTaxTable *table, gboolean make_new)
|
||||
|
||||
if (!table) return NULL;
|
||||
if (table->child) return table->child;
|
||||
if (table->parent) return table;
|
||||
if (make_new) {
|
||||
child = gncTaxTableCopy (table);
|
||||
gncTaxTableSetChild (table, child);
|
||||
|
Loading…
Reference in New Issue
Block a user