about summary refs log tree commit diff stats
path: root/lib/ui/list.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/list.go')
-rw-r--r--lib/ui/list.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ui/list.go b/lib/ui/list.go
index 58f304f..9caae20 100644
--- a/lib/ui/list.go
+++ b/lib/ui/list.go
@@ -88,6 +88,7 @@ func (list *List) Select(index int) {
 		panic(fmt.Errorf("Attempted to select unknown child"))
 	}
 	list.selected = index
+	list.Items[list.selected].invalid = true
 	list.Invalidate()
 }