aboutsummaryrefslogtreecommitdiffstats
path: root/termui
diff options
context:
space:
mode:
Diffstat (limited to 'termui')
-rw-r--r--termui/termui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/termui.go b/termui/termui.go
index 2e109c3f..d2585c4b 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -215,7 +215,7 @@ func setTitleWithEditor(bug cache.BugCacher) error {
ui.g.Close()
ui.g = nil
- title, err := input.BugTitleEditorInput(ui.cache.Repository())
+ title, err := input.BugTitleEditorInput(ui.cache.Repository(), bug.Snapshot().Title)
if err != nil && err != input.ErrEmptyTitle {
return err