diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-25 19:05:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 19:05:24 +1000 |
commit | 7164f372661794eedd749eb41cc1265c86110913 (patch) | |
tree | 39751808681b8908989443b278cd5e90aac97a52 /pkg/gui/commit_message_panel.go | |
parent | 61f0801bd366e959437676ae72b2d9fe98c4b8af (diff) | |
parent | 80d6bbef8661932ee0a665961b44a681c811ac36 (diff) |
Merge branch 'master' into feature/commit-amend
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index 2c3d086c7..93a3e1503 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -38,6 +38,10 @@ func (gui *Gui) handleCommitClose(g *gocui.Gui, v *gocui.View) error { } func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error { + if _, err := g.SetViewOnTop("commitMessage"); err != nil { + return err + } + message := gui.Tr.TemplateLocalize( "CloseConfirm", Teml{ |