aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/msgviewer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 7623228f..f15fbae4 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