From ad9e35e302fe62556414f20ba04933d9c4597681 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 8 Aug 2018 21:25:06 +0200 Subject: termui: add the previous title in the template when editing --- termui/termui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termui') 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 -- cgit