On 07/31/2006 07:30 AM, Larry Evans wrote: [snip] > Never mind. I passed the wrong type. Initially I though just passing > the types I wanted to limit the selection to; so, I passed the default > types. However this resulted in an empty selection list. So I figured Where's the code which paints the selection list to the screen? I've grepped in *.scm for 'gnc:option-index-get' but that result was useless. It seems whenever there's an intersection between the default account types and the "limit" account types, the account selection window is empty. IOW, with the following call:
(gnc:make-account-list-limited-option pagename name-accounts (string-append sort-tag "c") (N_ "Report on these accounts, if display depth allows.") default-accounts #f ; value-validator #t ; multiple-selection limit-types ) where: (define (default-accounts) (gnc:filter-accountlist-type default-types (gnc:group-get-subaccounts (gnc:get-current-group)) ) ) and there's an intersection between default-types and limit-types, the account selection window is empty. Any clues as to why this happens or how I can fix it? _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel