Mercurial > libervia-backend
changeset 215:370f387a43c0
primitivus: fixed misnamed method in custom widget
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 27 Dec 2010 17:22:32 +0100 |
parents | e178e8f6d13a |
children | 783d6a61e0bd |
files | frontends/primitivus/custom_widgets.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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