summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commit_message_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-10-17 17:38:59 +1100
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-10-17 06:41:21 +0000
commite7c27b6f4aef44a2391dd207e1321008b5d1dcff (patch)
tree62dee76c82b678a793e1361764e68699998c75af /pkg/gui/commit_message_panel.go
parent345c90ac05bffd6e4163be9dabc0386cd8918057 (diff)
small fixes
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r--pkg/gui/commit_message_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go
index fb1303a55..7ed9669ab 100644
--- a/pkg/gui/commit_message_panel.go
+++ b/pkg/gui/commit_message_panel.go
@@ -23,8 +23,8 @@ func (gui *Gui) handleCommitConfirm() error {
cmdStr := gui.GitCommand.CommitCmdStr(message, flags)
gui.OnRunCommand(oscommands.NewCmdLogEntry(cmdStr, gui.Tr.Spans.Commit, true))
return gui.withGpgHandling(cmdStr, gui.Tr.CommittingStatus, func() error {
+ gui.Views.CommitMessage.ClearTextArea()
_ = gui.returnFromContext()
- gui.clearEditorView(gui.Views.CommitMessage)
return nil
})
}