diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-16 22:01:14 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-16 22:24:54 +1000 |
commit | db826b3c8795e47e3471ab76bc4bcb131892c224 (patch) | |
tree | 37938ead603d4da7697ba4391f91e173787b2b17 /pkg/gui/confirmation_panel.go | |
parent | be658e7d64c8d120a6c7ca9c59cbb05957135c1d (diff) |
add keybinding to create new branch off of commit
retain focus in commits panel
surface prompt errors
better description
Diffstat (limited to 'pkg/gui/confirmation_panel.go')
-rw-r--r-- | pkg/gui/confirmation_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/confirmation_panel.go b/pkg/gui/confirmation_panel.go index e1aa29531..71fe20452 100644 --- a/pkg/gui/confirmation_panel.go +++ b/pkg/gui/confirmation_panel.go @@ -85,7 +85,7 @@ func (gui *Gui) wrappedPromptConfirmationFunction(function func(string) error, r if function != nil { if err := function(v.Buffer()); err != nil { - return err + return gui.surfaceError(err) } } |