summaryrefslogtreecommitdiffstats
path: root/pkg/gui/git_flow.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-15 16:38:16 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-15 18:01:43 +1000
commit0822a9296c1e5f4c43b30b60d40ce870057f3494 (patch)
treeaa50d3fdbd6cf384c222a4b0900bf3527c262a40 /pkg/gui/git_flow.go
parentd9fa02c53bb9b401f1b5ca07e8ed239862052a42 (diff)
rename
Diffstat (limited to 'pkg/gui/git_flow.go')
-rw-r--r--pkg/gui/git_flow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/git_flow.go b/pkg/gui/git_flow.go
index cddc0ae9d..367dd3048 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.createPromptPanel(gui.getMenuView(), title, "", func(name string) error {
+ return gui.prompt(gui.getMenuView(), title, "", func(name string) error {
subProcess := gui.OSCommand.PrepareSubProcess("git", "flow", branchType, "start", name)
gui.SubProcess = subProcess
return gui.Errors.ErrSubProcess