mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[category-barchart] don't drill down after acct lvl 6
https://lists.gnucash.org/pipermail/gnucash-user/2020-December/094231.html This relates to the click to drill-down into next account depth. It increases account depth. The maximum must be 6.
This commit is contained in:
parent
6e57ce193b
commit
6b847dca76
@ -572,6 +572,12 @@ developing over time"))
|
|||||||
((null? (gnc-account-get-children acct))
|
((null? (gnc-account-get-children acct))
|
||||||
(gnc:account-anchor-text acct))
|
(gnc:account-anchor-text acct))
|
||||||
|
|
||||||
|
;; because the tree-depth option for
|
||||||
|
;; accounts/levels goes up to 6. FIXME:
|
||||||
|
;; magic number.
|
||||||
|
((>= tree-depth 6)
|
||||||
|
(gnc:account-anchor-text acct))
|
||||||
|
|
||||||
(else
|
(else
|
||||||
(gnc:make-report-anchor
|
(gnc:make-report-anchor
|
||||||
reportguid report-obj
|
reportguid report-obj
|
||||||
|
Loading…
Reference in New Issue
Block a user