diff options
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index d49151cfb..a99143215 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -625,21 +625,21 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { ViewName: "branches", Contexts: []string{TAGS_CONTEXT_KEY}, Key: gui.getKey(config.Universal.Select), - Handler: gui.handleCheckoutTag, + Handler: gui.withSelectedTag(gui.handleCheckoutTag), Description: gui.Tr.LcCheckout, }, { ViewName: "branches", Contexts: []string{TAGS_CONTEXT_KEY}, Key: gui.getKey(config.Universal.Remove), - Handler: gui.handleDeleteTag, + Handler: gui.withSelectedTag(gui.handleDeleteTag), Description: gui.Tr.LcDeleteTag, }, { ViewName: "branches", Contexts: []string{TAGS_CONTEXT_KEY}, Key: gui.getKey(config.Branches.PushTag), - Handler: gui.handlePushTag, + Handler: gui.withSelectedTag(gui.handlePushTag), Description: gui.Tr.LcPushTag, }, { @@ -653,7 +653,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { ViewName: "branches", Contexts: []string{TAGS_CONTEXT_KEY}, Key: gui.getKey(config.Commits.ViewResetOptions), - Handler: gui.handleCreateResetToTagMenu, + Handler: gui.withSelectedTag(gui.handleCreateResetToTagMenu), Description: gui.Tr.LcViewResetOptions, OpensMenu: true, }, |