From 41c096bb7fa8dda3bdf4d69aaf1f49c515afae42 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 27 Dec 2010 17:22:32 +0100 Subject: [PATCH] primitivus: fixed misnamed method in custom widget --- frontends/primitivus/custom_widgets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontends/primitivus/custom_widgets.py b/frontends/primitivus/custom_widgets.py index cc86f860..554bc4c4 100644 --- a/frontends/primitivus/custom_widgets.py +++ b/frontends/primitivus/custom_widgets.py @@ -393,10 +393,11 @@ class GenericList(urwid.WidgetWrap): self.first_display = False def selectValue(self, value): + """Select the first item which has the given value""" self.unselectAll() idx = 0 for widget in self.content: - if widget.getSelectedValue() == value: + if widget.getValue() == value: widget.setState(True) self.list_box.set_focus(idx) return