diff options
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r-- | widgets/msglist.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index efecf2c3..f7398dc1 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -129,7 +129,7 @@ func (ml *MessageList) storeUpdate(store *lib.MessageStore) { } func (ml *MessageList) SetStore(store *lib.MessageStore) { - if ml.Store() == store { + if ml.Store() != store { ml.scroll = 0 ml.selected = 0 } |