diff --git a/wdgt_simple_list.go b/wdgt_simple_list.go index 22ea14f..16bf06e 100644 --- a/wdgt_simple_list.go +++ b/wdgt_simple_list.go @@ -228,7 +228,7 @@ func (w *SimpleList) MinW() int { func (w *SimpleList) MinH() int { return 4 } func (w *SimpleList) getItemAt(idx int) { - for idx >= len(w.List) { + for idx >= len(w.list) { idx-- }