~sircmpwn/aerc

41390bc3e1e557eff15e8159767f206b3b74ea30 — Jeffas 2 years ago 715c9a4
Ensure new partswitcher doesn't start on multipart
1 files changed, 1 insertions(+), 0 deletions(-)

M widgets/msgviewer.go
M widgets/msgviewer.go => widgets/msgviewer.go +1 -0
@@ 86,6 86,7 @@ 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