aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui')
-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 58f304ff..9caae20c 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()
}