Revert "Ensure new partswitcher doesn't start on multipart"

This reverts commit 41390bc3e1.
This commit is contained in:
Drew DeVault 2019-07-17 16:09:40 -04:00
parent 44a743ed11
commit dbd583c969
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ func NewMessageViewer(acct *AccountView, conf *config.AercConfig,
headers.AddChild(ui.NewFill(' ')).At(3, 0).Span(1, 2) headers.AddChild(ui.NewFill(' ')).At(3, 0).Span(1, 2)
switcher := &PartSwitcher{} switcher := &PartSwitcher{}
switcher.selected = -1
err := createSwitcher(switcher, conf, store, msg, conf.Viewer.ShowHeaders) err := createSwitcher(switcher, conf, store, msg, conf.Viewer.ShowHeaders)
if err != nil { if err != nil {
goto handle_error goto handle_error