Fixed the initial set in DetailView to use str() on the list item.

This commit is contained in:
Jeff Pittman 2012-07-30 09:50:08 -05:00
parent 3f6c8fad21
commit 40c5b2a72a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class DetailView(SelectionObserver, GridLayout):
super(DetailView, self).__init__(**kwargs)
self.bind(fruit_name=self.redraw)
self.fruit_name = self.observed_list_adapter.selection[0].text
self.fruit_name = str(self.observed_list_adapter.selection[0])
def redraw(self, *args):
self.clear_widgets()