diff options
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r-- | pkg/gui/branches_panel.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 59160bc0f..2a5d0f308 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -58,7 +58,7 @@ func (gui *Gui) handleBranchPress() error { } branch := gui.getSelectedBranch() gui.c.LogAction(gui.c.Tr.Actions.CheckoutBranch) - return gui.refHelper.CheckoutRef(branch.Name, types.CheckoutRefOptions{}) + return gui.refsHelper.CheckoutRef(branch.Name, types.CheckoutRefOptions{}) } func (gui *Gui) handleCreatePullRequestPress() error { @@ -134,7 +134,7 @@ func (gui *Gui) handleCheckoutByName() error { FindSuggestionsFunc: gui.suggestionsHelper.GetRefsSuggestionsFunc(), HandleConfirm: func(response string) error { gui.c.LogAction("Checkout branch") - return gui.refHelper.CheckoutRef(response, types.CheckoutRefOptions{ + return gui.refsHelper.CheckoutRef(response, types.CheckoutRefOptions{ OnRefNotFound: func(ref string) error { return gui.c.Ask(types.AskOpts{ Title: gui.c.Tr.BranchNotFoundTitle, @@ -328,7 +328,7 @@ func (gui *Gui) handleCreateResetToBranchMenu() error { return nil } - return gui.refHelper.CreateGitResetMenu(branch.Name) + return gui.refsHelper.CreateGitResetMenu(branch.Name) } func (gui *Gui) handleRenameBranch() error { |