r22049 - gnucash/trunk/src/app-utils - Fix broken value-to-kvp conversion for number range option which doesn't get the kvp type correctly.

Christian Stimming cstim at code.gnucash.org
Fri Feb 17 04:15:48 EST 2012


Author: cstim
Date: 2012-02-17 04:15:47 -0500 (Fri, 17 Feb 2012)
New Revision: 22049
Trac: http://svn.gnucash.org/trac/changeset/22049

Modified:
   gnucash/trunk/src/app-utils/options.scm
Log:
Fix broken value-to-kvp conversion for number range option which doesn't get the kvp type correctly.

This seems to be have been broken all along since r7094.

Modified: gnucash/trunk/src/app-utils/options.scm
===================================================================
--- gnucash/trunk/src/app-utils/options.scm	2012-02-16 20:04:34 UTC (rev 22048)
+++ gnucash/trunk/src/app-utils/options.scm	2012-02-17 09:15:47 UTC (rev 22049)
@@ -1109,7 +1109,7 @@
      (lambda (x) (set! value x))
      (lambda () default-value)
      (gnc:restore-form-generator value->string)
-     (lambda (f p) (kvp-frame-set-slot-path-gslist f (symbol->string value) p))
+     (lambda (f p) (kvp-frame-set-slot-path-gslist f value p))
      (lambda (f p)
        (let ((v (kvp-frame-get-slot-path-gslist f p)))
          (if (and v (number? v))



More information about the gnucash-changes mailing list