From 32f970e0531a0811392d2836773870acf649cf26 Mon Sep 17 00:00:00 2001 From: Kevin Kuehler Date: Mon, 10 Jun 2019 22:05:55 -0700 Subject: Move select functionality from msglist to msgstore Remove msglist Next and Prev commands Signed-off-by: Kevin Kuehler --- commands/msg/archive.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/msg/archive.go') diff --git a/commands/msg/archive.go b/commands/msg/archive.go index da4c421..4fe7330 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -34,7 +34,8 @@ func Archive(aerc *widgets.Aerc, args []string) error { msg := widget.SelectedMessage() store := widget.Store() archiveDir := acct.AccountConfig().Archive - acct.Messages().Next() + store.Next() + acct.Messages().Scroll() switch args[1] { case ARCHIVE_MONTH: -- cgit v1.2.3