diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 12:20:49 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 94601b4dc951de9b1efa08120148d2d9766b637c (patch) | |
tree | 0541d8468d78a58f4a2ef069323de475be13d29c /pkg/gui/git_flow.go | |
parent | 9ca0073cd7680d2417d4bb0a38a7b02df3dfd651 (diff) |
use context to return to the correct view
Diffstat (limited to 'pkg/gui/git_flow.go')
-rw-r--r-- | pkg/gui/git_flow.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/git_flow.go b/pkg/gui/git_flow.go index 367dd3048..dc6827499 100644 --- a/pkg/gui/git_flow.go +++ b/pkg/gui/git_flow.go @@ -51,7 +51,7 @@ func (gui *Gui) handleCreateGitFlowMenu(g *gocui.Gui, v *gocui.View) error { startHandler := func(branchType string) func() error { return func() error { title := gui.Tr.TemplateLocalize("NewBranchNamePrompt", map[string]interface{}{"branchType": branchType}) - return gui.prompt(gui.getMenuView(), title, "", func(name string) error { + return gui.prompt(title, "", func(name string) error { subProcess := gui.OSCommand.PrepareSubProcess("git", "flow", branchType, "start", name) gui.SubProcess = subProcess return gui.Errors.ErrSubProcess |