summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/branches_context.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/context/branches_context.go')
-rw-r--r--pkg/gui/context/branches_context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/context/branches_context.go b/pkg/gui/context/branches_context.go
index d2647ef84..6317a60b2 100644
--- a/pkg/gui/context/branches_context.go
+++ b/pkg/gui/context/branches_context.go
@@ -22,6 +22,7 @@ func NewBranchesContext(c *ContextCommon) *BranchesContext {
func(branch *models.Branch) []string {
return []string{branch.Name}
},
+ func() bool { return c.AppState.LocalBranchSortOrder != "alphabetical" },
)
getDisplayStrings := func(_ int, _ int) [][]string {