# HG changeset patch # User Goffi # Date 1293466952 -3600 # Node ID 370f387a43c0913c1d8444ff6417825214d9b354 # Parent e178e8f6d13af5f55fe199bd36fd24d0edcff532 primitivus: fixed misnamed method in custom widget diff -r e178e8f6d13a -r 370f387a43c0 frontends/primitivus/custom_widgets.py --- a/frontends/primitivus/custom_widgets.py Mon Dec 27 17:20:25 2010 +0100 +++ b/frontends/primitivus/custom_widgets.py Mon Dec 27 17:22:32 2010 +0100 @@ -393,10 +393,11 @@ 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