summaryrefslogtreecommitdiffstats
path: root/pkg/gui/pull_request_menu_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/pull_request_menu_panel.go')
-rw-r--r--pkg/gui/pull_request_menu_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/pull_request_menu_panel.go b/pkg/gui/pull_request_menu_panel.go
index aa7bc481a..60fdee50c 100644
--- a/pkg/gui/pull_request_menu_panel.go
+++ b/pkg/gui/pull_request_menu_panel.go
@@ -28,7 +28,7 @@ func (gui *Gui) createPullRequestMenu(selectedBranch *models.Branch, checkedOutB
onPress: func() error {
return gui.prompt(promptOpts{
title: branch.Name + " →",
- findSuggestionsFunc: gui.findBranchNameSuggestions,
+ findSuggestionsFunc: gui.getBranchNameSuggestionsFunc(),
handleConfirm: func(targetBranchName string) error {
return gui.createPullRequest(branch.Name, targetBranchName)
}},