Mercurial > fife-parpg
diff engine/extensions/pychan/widgets/listbox.py @ 254:10b5f7f36dd4
* Fixed a small unicode bug for the dropdown menu
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 03 Jun 2009 19:29:52 +0000 |
parents | a2d5e2721489 |
children | 51cc05d862f2 |
line wrap: on
line diff
--- a/engine/extensions/pychan/widgets/listbox.py Fri May 08 08:45:27 2009 +0000 +++ b/engine/extensions/pychan/widgets/listbox.py Wed Jun 03 19:29:52 2009 +0000 @@ -19,7 +19,7 @@ def getElementAt(self, i): i = max(0,min(i,len(self) - 1)) - return str(self[i]) + return text2gui(unicode(self[i])) class ListBox(Widget): """