Skip to content

Commit

Permalink
fixup! Allow to switch branches in Commit View
Browse files Browse the repository at this point in the history
Add key to disabled entry
  • Loading branch information
Sebastian Flügge committed Dec 28, 2024
1 parent 3604b27 commit b7f91c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gui/controllers/helpers/refs_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ func (self *RefsHelper) CreateCheckoutMenu(commit *models.Commit) error {
LabelColumns: []string{self.c.Tr.Actions.CheckoutBranch},
OnPress: func() error { return nil },
DisabledReason: &types.DisabledReason{Text: self.c.Tr.NoBranchesFoundAtCommitTooltip},
Key: '1',
})
}

Expand Down

0 comments on commit b7f91c2

Please sign in to comment.