mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[options.scm] Addon previous commit... need to initialize with guid
This commit is contained in:
parent
d740ac1cb0
commit
ca6604c93c
@ -466,16 +466,14 @@ the option '~a'."))
|
||||
sort-tag
|
||||
documentation-string)
|
||||
|
||||
(define (convert-to-guid item)
|
||||
(if (string? item) item (gncBudgetGetGUID item)))
|
||||
|
||||
(define (convert-to-budget item)
|
||||
(if (string? item) (gnc-budget-lookup item (gnc-get-current-book)) item))
|
||||
|
||||
(let* ((initial-budget (gnc-budget-get-default (gnc-get-current-book)))
|
||||
(selection-budget initial-budget)
|
||||
)
|
||||
|
||||
|
||||
(define (convert-to-guid item)
|
||||
(if (string? item) item (gncBudgetGetGUID item)))
|
||||
|
||||
(define (convert-to-budget item)
|
||||
(if (string? item) (gnc-budget-lookup item (gnc-get-current-book)) item))
|
||||
(selection-budget (convert-to-guid initial-budget)))
|
||||
|
||||
(gnc:make-option
|
||||
section
|
||||
|
Loading…
Reference in New Issue
Block a user