Author: reinhard
Date: 2006-10-14 14:22:14 -0500 (Sat, 14 Oct 2006)
New Revision: 8783

Modified:
   branches/forms-0.5/src/uidrivers/wx/widgets/_base.py
Log:
Fixed duplicate use of variable name. This caused dropdowns to dislpay wrong
values after the list allowed values had changed.


Modified: branches/forms-0.5/src/uidrivers/wx/widgets/_base.py
===================================================================
--- branches/forms-0.5/src/uidrivers/wx/widgets/_base.py        2006-10-13 
10:29:45 UTC (rev 8782)
+++ branches/forms-0.5/src/uidrivers/wx/widgets/_base.py        2006-10-14 
19:22:14 UTC (rev 8783)
@@ -179,8 +179,8 @@
           pass
         widget._origAllowedValues = object._field._allowedValues
         widget.Clear()
-        for value in object._field._allowedValuesDescr:
-          widget.Append(wxEncode(value))
+        for v in object._field._allowedValuesDescr:
+          widget.Append(wxEncode(v))
         widget.SetValue("")
         try:
           # Not in wx 2.2.x



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to