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