diff options
author | Kevin Kuehler <keur@ocf.berkeley.edu> | 2019-07-17 00:35:50 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-19 11:30:32 -0400 |
commit | f81e4bd41c3ba9427390eadfc5133ed8daada6ab (patch) | |
tree | 1c815a23a33005dbd51bc0c4c1c1e1234fe696a5 /widgets/account.go | |
parent | 8b2abcb02a191ad77c971fd4679c7d177ce2f827 (diff) | |
download | aerc-f81e4bd41c3ba9427390eadfc5133ed8daada6ab.tar.gz |
Implement :filter, :clear
Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/account.go b/widgets/account.go index 981a143a..f070df14 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -172,7 +172,7 @@ func (acct *AccountView) SelectedAccount() *AccountView { } func (acct *AccountView) SelectedMessage() (*models.MessageInfo, error) { - if len(acct.msglist.Store().Uids) == 0 { + if len(acct.msglist.Store().Uids()) == 0 { return nil, errors.New("no message selected") } return acct.msglist.Selected(), nil |