about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-07-17 16:09:40 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-17 16:09:40 -0400
commitdbd583c969fbc5f6565a1b6296e9e1a0f0b43967 (patch)
tree9d322b911686fc2b29ab6a0d5dce6ce605bab830
parent44a743ed119085354e27accc31de08f61426553d (diff)
downloadaerc-dbd583c969fbc5f6565a1b6296e9e1a0f0b43967.tar.gz
Revert "Ensure new partswitcher doesn't start on multipart"
This reverts commit 41390bc3e1e557eff15e8159767f206b3b74ea30.
-rw-r--r--widgets/msgviewer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 7623228..f15fbae 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -86,7 +86,6 @@ func NewMessageViewer(acct *AccountView, conf *config.AercConfig,
 	headers.AddChild(ui.NewFill(' ')).At(3, 0).Span(1, 2)
 
 	switcher := &PartSwitcher{}
-	switcher.selected = -1
 	err := createSwitcher(switcher, conf, store, msg, conf.Viewer.ShowHeaders)
 	if err != nil {
 		goto handle_error