aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/compose.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/compose.go')
-rw-r--r--widgets/compose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/compose.go b/widgets/compose.go
index c0f4af4f..fa88b0f0 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -1299,7 +1299,7 @@ func (c *Composer) AddEditor(header string, value string, appendHeader bool) err
}
value = c.addEditor(header, value, appendHeader)
if value == "" {
- c.focusEditor(c.editors[header].name)
+ c.focusEditor(header)
}
c.updateGrid()
return nil