changeset 27:d8def22e429a 0.0.3

version change before release
author Goffi <goffi@goffi.org>
date Fri, 20 Aug 2010 01:17:51 +0800
parents fcc20ac7b68a
children 654d31983f19
files frontends/primitivus/custom_widgets.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/primitivus/custom_widgets.py	Thu Aug 19 21:11:22 2010 +0800
+++ b/frontends/primitivus/custom_widgets.py	Fri Aug 20 01:17:51 2010 +0800
@@ -189,7 +189,7 @@
         """Text to display when selected
         @text: text as in urwid.Text or None for default value"""
         if text == None:
-            text = ('selected',self.default_txt)
+            text = ('selected',self.getValue())
         self.selected_txt = self.__valid_text(text)
         if self.__selected:
             self.setState(self.__selected)