diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-17 17:38:59 +1100 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-10-17 06:41:21 +0000 |
commit | e7c27b6f4aef44a2391dd207e1321008b5d1dcff (patch) | |
tree | 62dee76c82b678a793e1361764e68699998c75af /pkg/gui/commit_message_panel.go | |
parent | 345c90ac05bffd6e4163be9dabc0386cd8918057 (diff) |
small fixes
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 2 |
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 }) } |