Author: reinhard
Date: 2007-04-10 10:41:15 -0500 (Tue, 10 Apr 2007)
New Revision: 9483
Modified:
trunk/gnue-forms/src/uidrivers/qt3/dialogs.py
trunk/gnue-forms/src/uidrivers/wx26/dialogs.py
Log:
Possible fix for numeric filter problem.
issue158 testing
Modified: trunk/gnue-forms/src/uidrivers/qt3/dialogs.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/qt3/dialogs.py 2007-04-10 14:45:47 UTC (rev 9482)
+++ trunk/gnue-forms/src/uidrivers/qt3/dialogs.py 2007-04-10 15:41:15 UTC (rev 9483)
@@ -310,7 +310,7 @@
self._keys = []
for (k, v) in values.items():
self._keys.append(k)
- self.insertItem(v)
+ self.insertItem(unicode(v))
if self._default in values:
self.setCurrentItem(self._keys.index(self._default))
Modified: trunk/gnue-forms/src/uidrivers/wx26/dialogs.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/dialogs.py 2007-04-10 14:45:47 UTC (rev 9482)
+++ trunk/gnue-forms/src/uidrivers/wx26/dialogs.py 2007-04-10 15:41:15 UTC (rev 9483)
@@ -388,7 +388,7 @@
if values:
for (k, v) in values.items ():
- widget.Append (v, k)
+ widget.Append (unicode(v), k)
if widget._default in values:
widget.SetStringSelection (values [widget._default])
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.