dabo Commit
Revision 7244
Date: 2012-09-07 13:53:38 -0700 (Fri, 07 Sep 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7244

Changed:
U   trunk/dabo/ui/uiwx/dSpinner.py

Log:
Fixed an 18-month-old typo (since r6175) that was effectively allowing the user
to type a value higher or lower than Max or Min, tab off the control and save 
that bogus value.



Diff:
Modified: trunk/dabo/ui/uiwx/dSpinner.py
===================================================================
--- trunk/dabo/ui/uiwx/dSpinner.py      2012-09-07 00:15:03 UTC (rev 7243)
+++ trunk/dabo/ui/uiwx/dSpinner.py      2012-09-07 20:53:38 UTC (rev 7244)
@@ -251,7 +251,7 @@
                pt = self._proxy_textbox
                val = pt.Value
                def _wrapType(compval):
-                       ret = val
+                       ret = compval
                        tv = type(val)
                        if tv != type(compval):
                                try:



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to