aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index a12a4687..fc5b46b5 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -391,6 +391,7 @@ func (ml *MessageList) Select(index int) {
store := ml.Store()
uids := store.Uids()
if len(uids) == 0 {
+ store.Select(lib.MagicUid)
return
}