Fix bug #603215 - Custom report from Budget Report does not save selected Budget

Problem was how budget option tried to create the lambda function to restore the value.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18528 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-12-20 00:25:50 +00:00
parent 7bbb8888a7
commit e190f37cec

View File

@ -325,9 +325,7 @@
(value (budget->guid default-value))
(option-set #f)
(value->string (lambda ()
(string-append
"'" (gnc:value->string (if option-set option #f)))))
(string-append "'" (gnc:value->string value))))
)
(gnc:make-option
section name sort-tag 'budget documentation-string